Skip to main content
Skip table of contents

Data Sets – Enums [ENT 21.1 OG]

ConfigPortal supports the creation and editing of data sets. With a data set, users are able to create dependent enums.
As an example, one enum containing the "series" and another one, containing possible values. A relationship between both enums can be created in which values in the form of series genres are assigned to "series". If these data sets are later used in UIs, which also support data sets, the selection in the "parent" enum will affect the available values in the "child" enum.



Clicking on the "Plus" button allows users to enter additional "child" metadata.
Users are also able to specify the order in which the "child" metadata values appear under the "parent" via drag and drop.


Setting Dependencies

If a parent dependency wants to be set for the particular metadata, users can select the "set dependencies options.



Users are then able to select an existing metadata data set as the parent in the dependency relationship.



Please note that the selection of metadata is specific to those of the data set type and only as the parent and only in that order. If a user wants to set a particular metadata field as a child, they must first search and select the desired child metadata and set their parent dependency.

EXAMPLE
Having selected the metadata dependencies for "Country", one can see that the Parent Metadata is set to "NIL". This implies that there are no other metadata fields that are hierarchically above country.
The enum data set values for "Country" are "Germany", "Malaysia", and "USA".
Under Child Metadata, users can see the "State" field. Enum data set values of the type "State" have been assigned to specific values for the enum data set "Country". Germany, a country, displays different states:

By clicking on the hyperlinked field, users can then be redirected to the field and any particular dependencies that field may have. As expected, the Parent Metadata for "State" is "Country".


If the dependencies of a parent metadata are displayed, one is able to see one or more child dependencies. If several are available, one can also select which children to show.

Support of Multiple Child Relationships

Datasets (dependent enums) also support the definition of multiple child-dependencies. Under Metadata Field, users are able to set several metadata fields as dependent to a parent field.
If the dependencies of a parent metadata are displayed, one is able to see one or more child dependencies. If several are available, one can also select which children to show.
If several children have the same parent dependency and a value in the dependent parent dropdown was selected, only matching values for both children will be available in drop-down.





JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.