/
nxa.AddExtCustomItem
nxa.AddExtCustomItem
Description
This function adds a new Custom Item during the initialization phase of the server and returns its ID. In general, this function shall be used within the OnInitEvent callback only. Compared to the function nxa.AddCustomItem, the flags for Persistent, Historical, and Synchronziation can also be set.
Signature
string nxa.AddExtCustomItem (string, string, nxa.access, nxa.type, bool, bool, bool, string, string, string, ..., string)Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
string | M | name of the Custom Item | |
string | M | description of the Custom Item | |
nxa.access | M | access rights of the Custom Item | |
nxa.type | M | the data type of the Custom Item | |
bool | M | sets the persistent flag of the Custom Item | |
bool | M | sets the historical flag of the Custom Item | |
bool | M | sets the synchronization flag of the Custom Item | |
string | O | delimiter that is used to build the item ID (optional) | |
string | O | path1 (optional) | |
string | O | path2 (optional) | |
... | |||
string | O | pathN (optional) |
Return
Type | Description |
---|---|
string | itemID of the new Custom Item |
, multiple selections available,
Related content
nxa.AddCustomItem
nxa.AddCustomItem
More like this
nxa.AddSysCustomItem
nxa.AddSysCustomItem
More like this
nxa.AddExtSysCustomItem
nxa.AddExtSysCustomItem
More like this
nxa.SetItemData
nxa.SetItemData
More like this
nxa.AddItemTemplate
nxa.AddItemTemplate
More like this
nxa.AddItemEvent
nxa.AddItemEvent
More like this