Enumeration attributes allow you to define a list of possible values that a particular attribute can have. This can be useful when you want to restrict the possible values for an attribute to a predefined set of values. This article describes the Enumeration attribute type settings and options.
Users are provided with an attribute editor that will display the value.
For Single data dimension, a drop-down list is provide.
For Set data dimension, a browse button will open a dialog where users can make their selections.
When creating an attribute of type Enumeration, the requirements are a SID, a Name, and values.
Valid Data Dimension(s): Single, Set
Support for Default Value: Yes
Allows Empty Value: Yes
Configurable Editor: Yes, width, but not height
Adding Values
When creating an attribute of type Enumeration, values can be added using the Add button in the provided settings. A value Name which displays for users is required. Color and Description are optional, and also display if set.
New enumeration values can be added without affecting any existing attributes.
Reordering of attribute values is supported by pressing Alt+select+Arrow up and Alt+select+Arrow down on the selected enumeration value in the list. This will not affect any attribute values.
Example
Things to Consider
- Enumeration values can be deleted, in which case existing attributes may become inconsistent with the data type value domain. The values are stored as string values and will not become corrupt in any way.
- When a value is no longer valid per the predefined list, due to the value either being removed from the attribute or modified, users will be informed via an error icon. They can then select a different value, if needed.
What's Next?
Read about Maintaining Enumeration Attribute Values.