« Vissza a(z) Secure Tropos Project oldalra

Dynamically get attributes of a class

Kombinált nézet Egyszerű nézet Fa-nézet
Szálak [ Előző | Következő ]
toggle
Dynamically get attributes of a class
community attribute documentation
Válasz
2014.03.27. 12:28
Is there a way to get the attributes related to a class dynamically during operation with AdoScript?

RE: Dynamically get attributes of a class
Válasz
2013.07.10. 13:04 válaszként erre: Névtelen.
Two AdoScript commands can be used to retrieve the attributes associated with a class in ADOxx:

GET_ALL_NB_ATTRS returns a list of all attribute IDs contained in the notebook of a certain class or relation class.
1CC "Core" GET_ALL_NB_ATTRS classid:intValue
2#-->RESULT ecode:intValue attrids:strValue .



GET_ALL_ATTRS returns a list of attribute ids (separated by spaces).
1CC "Core" GET_ALL_ATTRS [OfModelType | OfClass]
2Option: OfModelType: modeltype:strValue [ with-hidden-attrs ] .
3Option: OfClass: classid:intValue [ without-iattrs ] [ with-cattrs ]
4#-->RESULT ecode:intValue attrids:strValue