Hi all,
How can I add an API Name to User defined attribute? By default when I am creating an attribute, it is giving Type number but not an API - Name, I would like to add an API Name to that attribute. How come it will be possible?
How can I add this attribute to Business processes that are used in all diagrams at one go? How can I delete an attribute that is already add to an object?
Many thanks in advance.
Best Regards,
Srinivas.
Tamar Takidze on
Hi!
Unfortunately you can't define API name for user defined attributes, also you can't rely on typenumber it can change. So you should use types GUID. Reach your attribute like this
var db=ArisData.getActiveDatabase();
var filter=db.ActiveFilter();
var testAttribute = filter.UserDefinedAttributeTypeNum("eeb4a5a0-560f-11e1-4e4f-005056b1005f");
To add new attribute to existed objects, you should modify filter administration / configuration / conventions / filter choose your active filter and add or delete attributs from 'select objects attributes'. If you want automatically set value only report can do that. I'm using ARIS 7.1 edition. Hope my post was useful for you. Best Regards Tamar