Enum Attribute
The EnumAttribute allows the user to select one item from multiple options.
Example
XML Syntax
<EnumAttribute Name="Priority">
<Items DefaultItem="Middle">
<Item value="High"/>
<Item value="Middle"/>
<Item value="Low"/>
</Items>
</EnumAttribute>
Appearance

XML Elements
Items
Defines the list of selectable options.
Item
A single selectable option. The value can be written as this
<Item value="High"/>
or this
<Item>High</Item>
XML Attributes
DefaultItem (required)
The value that is selected when a the Document Object is created. If the DefaultItem should be empty, define an empty item and use it as default.
<EnumAttribute Name="Priority">
<Items DefaultItem="">
<Item></Item>
<Item>High</Item>
<Item>Middle</Item>
<Item>Low</Item>
</Items>
</EnumAttribute>
Set Value Colors
It is possible to associate the value of an item option with a color. The color is defined as a hex color and will be used as the background color of the display value text.
<Item value="High" color="#e45231"/>
Workflows
Workflows can be applied on this element.
Last updated
Was this helpful?