For the complete documentation index, see llms.txt. This page is also available as Markdown.

Creating a new dictionary

Artifact creation

The dictionary management mechanism is similar to the way request templates are managed. To create a new dictionary or edit an existing one, go to the module Library and select the tab Dictionaries. A new dictionary will be created after clicking the button Add dictionary. After setting its name and location, you can proceed with implementation.

The window of the newly added dictionary already has the language code "pl" defined:

Figure 1. Dictionary added window

Adding rows in the dictionary

The next step is to enter dictionary values. Each dictionary value consists of a key and content. Adding a new value begins with defining the key by clicking the button Add Key located in the upper-right corner of the window. After the row is displayed, enter its value in the KEY column and the content in the language column field. Repeat the process for each dictionary row.

Figure 2. Adding a new value to the dictionary

Adding a language

If there is a need to add content in languages other than Polish, simply click the button Add Language located in the upper-right corner of the window and enter the language code (in lowercase), then fill in the relevant keys with content.

Figure 3. Adding another language

Importing values

Instead of creating the dictionary manually, you can import data into it from a CSV file (instructions: CSV dictionary import).

Order of items in the dictionary

The order of items in the dictionary (and in the component retrieving values from it) can be changed using drag & drop. Values will always be displayed in the order in which they are in the dictionary or in the order in which they come from the service.

Attaching the dictionary to a component

The created dictionary can be used to create a selection list using a list value selection field (combobox) or to populate a text field with dictionary values. Instructions for attaching it can be found here: Attaching the dictionary data source.

Last updated

Was this helpful?