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

or this

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.

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.

Workflows

Workflows can be applied on this element.

Last updated

Was this helpful?