Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Name of the property.

PropertyType

nxa.type

M

the data

Data type of the property.

DafaultValue

variant

M

default

Default value of the property.

Return

None.