Free enum type

The purpose of free enum types is to enable the use dynamic enumerations as a data source for attributes of business objects.

images/download/attachments/53412491/image2018-10-17_13-33-1-version-1-modificationdate-1587989994129-api-v2.png

Each free enum type requires a unique Name (1) and a reference to an existing Enum type (2), which provides the elements to appear as choices for an attribute in a form for a specific business object.

In the Form designer, free enum types are represented as elements with the given Name (1) or the respective localization (see Localization or Company specific localization), that combine a Combobox with an optional text field.

The options for the combobox are linked to the configured Enum type (2), possibly considering applicable Dynamic enum filters.

The given example shows definition for a free enum type MOTORCYCLE_MANUFACTURERS, that enables a choice based on the custom dynamic enumeration MOTORCYCLE_BRANDS.

Form designer automatically features the new free enum type as a free enum attribute in the element tree:

images/download/attachments/53412491/image2018-10-17_14-9-2-version-1-modificationdate-1587989994146-api-v2.png

When this attribute is dragged into a form a container with the Combobox and optional text field are added to the design:

images/download/attachments/53412491/image2018-10-17_14-11-4-version-1-modificationdate-1587989994135-api-v2.png