nxa.AddPropertyTemplate
Description
This function can be used to add a property to an item template. The template has to be created with nxa.AddItemTemplate before.
Signature
nxa.AddPropertyTemplate (number, number, string, nxa.type, variant)
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
ItemTemplateID | number | M | ID that identifies the item template to which the property has to be added. |
ItemPropertyID | number | M | ID that uniquely identifies the property within the template. The number room for the ID is 7000-7999. |
PropertyName | string | M | Name of the property. |
PropertyType | nxa.type | M | Data type of the property. |
DafaultValue | variant | M | Default value of the property. |
Return
None.