USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Create a new record in a metadata table
Requests a new blank record from the API, applies field value overrides from the argument list, then saves it. For Asset records, CategoryID must be supplied and is extracted separately before saving. Fields are supplied as alternating name/value pairs starting at argument 0.
| Parameter | Description |
|---|---|
| cmd | Table name |
| Argument 0 | Field name, 1 = Field value, 2 = Next field name, 3 = Next field value, etc. (for Asset: first pair must be CategoryID/value) |
NewRecord "Table name", "Field name, 1 = Field value, 2 = Next field name, 3 = Next field value, etc. (for Asset: first pair must be CategoryID/value)"