04-08-2016 12:46 PM
Dear Community Users ///
How to get the property of the object type in VB script ?
Eg :
Associated objects:
Obj1 - O/p: This object belongs to type "Organizational Process "
obj2 - O/p: This object belongs to type "Org-Unit"
obj3 - O/p: This object belongs to type "Functional Process"
//Thanks
Solved! Go to Solution.
05-08-2016 03:32 AM
Dear Loinel// Great ! It works
Thanks a lot
04-08-2016 04:54 PM
Hello,
use the "getClassId" to get the identifier of your metaClass.
Then use "getobjectfromid" to retrieve the object 🙂
e.g.
msgbox obj1.shortname & " belongs to type " & oRoot.getObjectFromId(obj1.getClassId).name
Of course, obj1 et oRoot need to be defined 😉
Regards,
Lionel