value element

Last update: 2023-08-01

Content model

value:==help

Attributes

  • @applicableIf (string)
  • @desc (string)
  • @enabledIf (string)
  • @img (string)
  • @label (string)
  • @name (string)
  • @value (string)

Parents

<enumeration>

Children

<help>

Description

This element lets you define the values stored in an enumeration.

Attribute description

  • applicableIf (string): this attribute lets you make an enumeration value optional. It receives an XTK expression.
  • desc (string): description of the enumeration value.
  • enabledIf (string): condition for activating the enumeration value.
  • img (string): image linked to the enumeration in the “namespace:image_name” form. The image must be imported onto the application server.
  • label (string): label of the enumeration value.
  • name (string): internal name of the enumeration value.
  • value (string): value of the enumeration value. The type of value is defined based on the type of enumeration. If the enumeration is of character string type, it may only contain character string type values.

Examples

<enumeration name="myEnum">
       <value name="One" value="1"/>
       <value name="Two" value="2"/>
    </enumeration>

On this page