I'm trying to dynamically populate an attribute enumerated list based on another attributes values in IBM DOORS.
the image represent the list of items defined as object text
I want to dynamically update type enum based on the list captured in the picture as "Configuration Item 1", "Configuration Item 2"...
The user add/update a configuration item, then a previously defined enumurated type gets automatically updated with the same addition/update.
sure, it's possible. Basically you need to define several arrays, among them are
and with these arrays you use perm
AttrType modify(AttrType at, string name, [string codes[], int values[], int colors[], string descs[] string URI[], [int arrMaps[],]] string &errMess)command on attribute types. Attached is a script from our library that copies enumerations from one module to another - this might be helpful as a starting point for your script. Also, there's an example how to modify attribute types in the DXL Reference manual, look for "modify(attribute type)" in the chapter "Attribute Type manipulation"