Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
iconfalse
titleWhat is it for?

A value list is used for predefining possible values that an Attribute can have and it's corresponding display values. 

...

A value list, sometimes misspelled as valuelist, limits the base Types of an Attribute. It contains a set of possible values an attribute can have. After the value list is specified it can be chosen within the attribute. When you attempt to set a value that is not in the value list, a run-time exception is thrown. However, it is possible to keep deprecated values in a value list, by using a conditional value list, and setting a False condition for those values.

...

Property

Description

Base typeShould match with the data type of the attribute the value list is linked with. The options are: Boolean, String, Number, Date, DateTime, Percentage, Currency and Integer. See also Attribute types.
ExternalTick this box if you want to use an external source for the value list items. An external value list does not have fixed values, but gets its values from an external source, e.g., a data base or a service. How the value list gets its data is configured in the configuration of Interactions. It requires Java code to supply the values.
Items - valueA value that matches the value lists base type. This value can be used in expressions.
Items - display value

A text that describes the matching value. This text is used in your applications user interface. The display value is multilingual

UI Text Box
typenote

Please note that value lists do not support Text Substitution Language: TSL. If more dynamic texts are required, please consider the Container type: AQ_InstanceLinker.

Presentation stylesSelect one or more presentation styles. Presentation styles in a value list can for example be used to apply icons such as different country flags. 

...

Tip

Use the "Show display values" toggle to show the display values instead of technical values of value list items in the table.

Info
iconfalse
titleChanging conditions

If your user can change the available values (the outcome of the decision table), but already selected a value that is no longer available, the selected value will remain selected. This value will only disappear after the user changes their selection. If the now unavailable value shouldn't be possible to select, consider adding a validation rule.

How to – work with an external value list

...