Sample Code:
============
CategoryBag objBizNewCategoryBag = new CategoryBag();
KeyedReference objKR = new KeyedReference();
objKR.setKeyName("manufacturing industry");
objKR.setKeyValue("88888");
objKR.setTModelKey("uuid:c0b9fe13-324f-413d-5a5b-2004db8e5cc2");
objBizNewCategoryBag.getKeyedReference().add(objKR);
theOrganization.setCategoryBag(objBizNewCategoryBag);

The above code works (during saving a new business).

However, how do we generate a *valid* TModelKey? There are a number of online 
programs scattered over the web and they all seem to use the above key ==> 
uuid:c0b9fe13-324f-413d-5a5b-2004db8e5cc2

What is the significance of "uuid:c0b9fe13-324f-413d-5a5b-2004db8e5cc2"?  How 
do we generate a *valid* TModelKey in our programs?

Reply via email to