Skip to main content

The examples of usage


Documents dictionary​

  Documents dictionary

The examples of usage: Documents dictionary

Build the dictionary structure based on the provided business data:

  1. Documents - Regulations for granting loans

    • Application for a loan

    • Refusal to grant a loan

    • Loan agreement

  2. Documents will be in PDF or DOCX (MS Word) format.

  3. Documents will only be in the specified A4 or A5 format.

  4. The documents will be either a template to be filled in or already with ready content, ready to be printed.

For using attributes in target documents, start by creating 3 main categories with items to choose from.

Then complete them with text elements (right-click on the appropriate category and go through Add data element, where there are fields with a type to choose from). Add a view to each of the created categories for later use in the attributes (right-click on the appropriate category and click Add View). If we use only one view in a category, it is important that its name is the same as the category:

image

Add fields from category to the view (use the Attach or detach a dictionary object button from the context menu):

image

The dictionary item selection window will appear. Move the selected fields to the right side of the view.

image

Ultimately, the views in categories should look like this:

image

Create a category called Attribute (you can choose any name) and choose Type of data element.

image

In this case, due to the existence of 3 categories, there will be 3 elements. It is a good practice to use the same names as those used for the categories. Additionally, check if the physical representation of these elements is DIC_ITEM

image

The next step is to add a system attribute to each of the items in this directory. Select Add System Attribute>Possible dictionary attribute values.

image

Ultimately, for 3 elements it should look like this:

image

As the values for Sets in the Attribute category are empty, they must be filled in. By clicking on the Value field, a window will open where you should mark the element of the dictionary structure to be used.

image

Then we mark the previously configured view (here it is useful to mark the view with the category name beforehand) - in the window below it is possible to select only the View type element.

image

After performing all operations, you should expect the following view:

image

Then, in the Attributes category, create a View and add previously created elements to it.

image

The next step is to create the Documents category, where our document templates will be located. Then, if the elements are to be required, add the System Attribute and select from the list:

image

For the created attribute, select the file with the dictionary structure and from the dictionary structure select the previously created view in the Attribute category.

image

After preparing the dictionary structure, you can proceed to creating documents that use the attributes from previously created dictionaries in the configuration process. Add the dictionary data type to the Documents category.

image

Then choose a suitable name for it and configure. Thanks to the previous steps, the configuration is carried out by means of selection boxes consisting of previously configured elements.

image

Each item must be configured this way.

image

A dictionary that stores data about cars​

  Building a dictionary structure using a car database as an example

  1. Data scheme: price, brand, last use, year, is functional

  2. Categories: trucks, passenger cars

  3. Elements: Daf, Man (trucks), Fiat, Opel (passenger cars)

We create a new dictionary structure. We add the Data Schema category to the structure. We add individual elements to the category with the appropriate type (price, brand, last use, year, its functionality). We add to the structure two main categories: Truck and Passenger. We add individual elements to the created categories according to their category. We manually add attributes to individual dictionary objects. For the Passenger category, we add attributes in an alternative way. Add an attribute to all elements. A view has been created in the category that stores the required element. Add the rest of the items to the view. Then use the Complete Required Attributes option to complete the items (a warning will appear). The elements will be completed with the required attributes. Any subsequent element added to this category will already have mandatory attributes.

See also​

What are dictionaries

Updating dictionaries in the database