Skip to content

GET_ALL_NB_ATTRS ​

GET_ALL_NB_ATTRS returns a list of all attribute IDs contained in the notebook of a certain class or relation class.

Syntax ​

leo-grammar
CC "Core" GET_ALL_NB_ATTRS classid:intValue .


#-->RESULT ecode:intValue attrids:strValue
CC "Core" GET_ALL_NB_ATTRS classid:intValue .


#-->RESULT ecode:intValue attrids:strValue

Parameters ​

  • classid (intValue) - the ID of the class or relation class is passed via the parameter classid.

Returns ​

  • ecode (intValue) - Contains the error code or is 0 in case of success.
  • attrids (strValue) -

Details ​

If no notebook is defined for that class, an empty container is returned.

See Also ​

Examples ​

asc
# get class ID from class name
CC "Core" GET_CLASS_ID classname:"Dokument"
# get all Notebook attributes
CC "Core" GET_ALL_NB_ATTRS classid:(classid)
# and show them
CC "AdoScript" INFOBOX (attrids)
# get class ID from class name
CC "Core" GET_CLASS_ID classname:"Dokument"
# get all Notebook attributes
CC "Core" GET_ALL_NB_ATTRS classid:(classid)
# and show them
CC "AdoScript" INFOBOX (attrids)

Versions and Changes ​

Available since ADOxx 1.3