Skip to content

Custom Enumerations

The purpose of Custom Enumerations is to allow you to create new Enumerations that you can use in any Custom Attribute.

An Enumeration can be seen as a data type, so what you do when creating a Custom Enumeration is to create a new data type in IFS Cloud. A Custom Enumeration is a fixed list of values that can be stored in a specific Custom Attribute. Each value has a database representation and client representation. It is also possible to translate each added enumeration client representation.

Note! Enumerations are suitable when there is a relatively short (think 5-15 values) and fixed/stable list of options to choose from. Enumerations are generally presented as a single or multi-select drop-down list in the user interface.

If you need to have a lot of values then it would be better to create a custom attribute of reference type that refers to a custom entity contain the values. In the user interface references will be presented as list-of-values fields that offer the users full search capabilities (i the list of values) etc.

Add/Edit Custom Enumeration Values

To create a new custom enumeration

  1. In the Custom Enumeration page, create a new record.
  2. Give the enumeration a name and a default prompt. The name must be in the form "MyEnumeration" with a leading capital letter, and can only contain the characters ' A-Z ', ' a-z ' and ' 0-9 '.
  3. In the table below, add all values for your enumeration. The DB Value is what is stored in the database, the Client Value is what will be shown to the user. If you want the different values to be presented to the user in a specific order, you can edit the number in the Seq No column.
  4. Approve the enumeration and at least one of the values.
  5. Publish the enumeration.
  6. Optionally Translate the enumeration.