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

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

Parameters

classidintValue, the ID of the class or relation class is passed via the parameter classid.

Returns

ecodeintValue, Contains the error code or is 0 in case of success.
attridsstrValue

Remarks

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

See Also

Example 1

# 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)