We are doing a massive transition from ARIS 7.0 to ARIS 7.1 and have some issues, when attribute types are different between two systems (user-defined).
It is not a problem but creates us some inconvenience in change management especially in semantic check scripts, which are based upon external files with attribute IT coded in.
My question is how to get a table of attribute names and their types from ARIS?
We need the following attribute type data you can find in ARIS Administration/Configuration/Method
Thanks in advance for help.
Hi,
Instead of using the custom attribute's number use the GUID, it never changes. You can do that by defining it as a variable - we usually define all out custom attributes in the common folder as a js file and include this in all our scripts. You can do the same with custom models and symbols, look in the ARIS help for more information
Example
var iLocal = ArisData.ActiveFilter().UserDefinedAttributeTypeNum("the attribute GUID");
Ciska
And to add to it, Aris 7.0 and older versions, these attributes that you a referring to was the available attribute that you can customise, (you could not create new attributes like in Aris 7.1 and higher) depending on your type - boolean, float, text ect. you have to select one of the available User Defined attributes. Aris 7.1 and higher do not have these attributes as you can create your own, but when converting from ARIS 7.0 all the User defined attributes will come across, all of them, even if you haven't used them, thus clutter your enire method with unused attributes.
There is no API name for them, like AT_NAME, therefor you need to use the number to refer to this attribute, and define it in your scripts. It is best to define it by using the GUID as the number changes but the GUID will never change unless you create a new attribute.
Ciska