Hierarchy Catalog

enaio® editor 10.10 »

The hierarchy catalog corresponds to the tree catalog, though only the level descriptions are imported into the index data form. That allows you to distinguish between identical values from different threads.

The values from the hierarchy catalog can be edited by the user during the search in the catalog field, for example, a placeholder can be inserted.

In the catalog field the transferred level values are separated; the default separator character is the 'pipe' (|). You can also specify any other character as a separator.

If you use any character other than 'pipe' as a separator, the entries which are followed by a 'pipe', for example in list catalogs, will be displayed in the catalog but not transferred to the catalog field.

Entries of all levels are transferred from the hierarchy catalog. If you select the option Allow intermediate levels the user can only transfer entries from the first level to the selected intermediate level.

As in list catalogs, entries containing the character '*' at the end of the row are only shown for the query, and not for newly created entries. For editing, the entry is not shown in the list, although it can be entered manually.

A hierarchy catalog is created in the same way that a tree catalog is.

You can assign a hierarchy catalog to the catalog field using the Reference button which you already created for a different text field. The hierarchy catalog can be edited. Changes will apply to all catalog fields which reference the hierarchy catalog. The changes are applied immediately.

Validation checks the catalog entries for proper syntax and correct reference structures. Always validate the object definition before you make it available for other users.

If you select the 'Icon catalog' option in the properties dialog, you can assign an icon to each entry.

Match Mode

If users enter a value in a field with a hierarchy catalog, and then open the catalog using the catalog button, this value is selected in the catalog if the value exactly matches a catalog entry. If there are several, then the first catalog entry is selected. If there is no exact match, nothing is selected.

This search behavior can be modified in the catalog in the same way you would change the tree catalog. To do so, enter 'MATCHMODE' on the Hierarchy (Text) tab with a parameter:

MATCHMODE=0

Default setting

MATCHMODE=1

If there is no exact match, then the first catalog entry that starts with the value is selected.

You can switch to the next value using the Tab key, and to the previous value using Shift+Tab.

MATCHMODE=2

If there is no exact match, then the first catalog entry that contains the value is selected.

You can switch to the next value using the Tab key, and to the previous value using Shift+Tab.