Universe COM SDK - associating unique identifier with Object

Dear All,

I have a development question and i hope you can help me.

I am creating objects through SDK for an universe class

In psuedo code for example

Designer.Universe univ = open(“XXXX”);

Designer.Classes classcoll = univ.Classes;

Designer.Class class 1 = classcoll.get_FindClass(“ABC”);

Designer.Object obj = class1.Objects.Add(“XYZ”,class1.Name);

This has been good so far.

However with each object i create, i need to store an unique identifier with it. ( This is necessary for my implementation logic to track changes)

However in the Object class i am unable to see any property to which i can store and retrieve this unique identifier. My only bet at this point seems to be “Description” - but then my users would be seeing some strange identifiers instead of description in my universe which i want to avoid.

Can any one suggest any workaround please?

Thanks


ramaks (BOB member since 2009-03-31)

Actually, there is a hidden property … cleverly called Obj.ID … that stores BusObj own internal ID.


Dwayne Hoffpauir :us: (BOB member since 2002-09-19)