nxa.AddCustomItem

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.

Signature

string nxa.AddCustomItem (string, string, nxa.access, nxa.type, string, string, string, ..., string)

Parameters

Name Type Mandatory/Optional Description
stringMname of the Custom Item
stringMdescription of the Custom Item
nxa.accessMaccess rights of the Custom Item
nxa.typeMthe data type of the Custom Item
stringOdelimiter that is used to build the item ID (optional)
stringOpath1 (optional)
stringOpath2 (optional)
...
stringOpathN (optional)

Return

Type Description
stringitemID of the new Custom Item