« Quay về Secure Tropos Project

Dynamically get attributes of a class

Xem kết hợp Flat Xem Xem cây
Luồng thảo luận [ Trước | Tiếp theo ]
toggle
Dynamically get attributes of a class
community attribute documentation
Câu trả lời
12:28 27/03/2014
Is there a way to get the attributes related to a class dynamically during operation with AdoScript?

RE: Dynamically get attributes of a class
Câu trả lời
13:04 10/07/2013 gửi bài phản hồi tới Cho phép người dùng chưa đăng ký.
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