midPoint 3.1.1 and later
Lookup tables are available in midPoint 3.1.1 and later versions.
Lookup tables are a mechanism how to manage selection and mapping of pre-defined value sets. E.g. employee types, locales, time zones, cost center codes and similar properties can be managed as lookup tables. The lookup tables can be defined in midPoint repository and bound to a particular property. The property will then be regarded as an enumeration by midPoint. E.g. the user interface will display a selection instead of an ordinary test input field.
Lookup Table Definition
There is a special object type for lookup tables (LookupTableType). The entire table can be represented as midPoint object and imported into the midPoint repository:
key specifies the value of the property that is bound to lookup table (see below). The label specifies the text that will be displayed to the user by midPoint user interface.
Binding Lookup Table to a Property
This definition binds the (user) property
preferredLanguage to the lookup table defined above. When that object template is made active then the midPoint user interface will display a selection with the potions specified in the lookup table.