Skip to main content
Configuring search elements is an important step in setting up any activity, because element properties set the conditions for searching for an object in the document image. The more precisely you specify element properties, the better the result of its detection on the image will be. If you are new to Advanced Designer or if you are dealing with simpler documents, we recommend that you configure the elements using the common properties displayed in the two sections of the Properties pane: What to search for and Where to search. If you have sufficient experience with the product and need to set up more flexible and complex search conditions, you can also use the advanced properties in the What to search for section and the advanced Under what conditions section. To show and hide advanced properties, click the advanced mode icon on the Properties pane.

What to search for section

The What to search for section contains specific properties for each element. These properties are described in the following sections: The Region element does not have a What to search for section on the Properties pane. The Input Field element does not have a What to search for section on the Properties pane. The Deep Learning Element has a Get hypotheses from section instead of the What to search for section.

Where to search section

The Where to search section is identical for all elements. In this section, you can set restrictions for the area where Advanced Designer will look for the objects corresponding to the element. For more information, see Element Search Area.
Note: In the case of the Deep Learning search element this section is called Specify hypothesis area. It provides the same settings.

Under what conditions section (advanced properties)

The Under what conditions section contains advanced properties only. This section is identical for all elements and allows you to set additional conditions and restrictions for your element search:
  • Elements are either required, optional, or prohibited. This property can be set using the corresponding values in the Element is drop-down list. For more information, see Required, optional, and prohibited elements.
  • Min. hypothesis quality. Quality of the hypothesis that Advanced Designer formulates if it has detected no objects corresponding to an optional element in the search area. This property is available if Optional element is selected in the Under what conditions section. The default value is 0.97.
  • Max. number of hypotheses. Limits the number of hypotheses the program can use when searching for a next element. By default, this parameter is set to 5 for simple elements and 1 for group elements. This means that if the program finds 15 hypotheses for a given element, it will choose the top five, leaving the other 10 hypothesis chains incomplete.
  • Do not find element if can be used to specify a condition that, when satisfied, prevents the program from looking for the element. The condition is based on whether or not the reference element was detected. If you specify more than one condition, the Do not find element if command will only work if all of the conditions are satisfied.
  • Comment. Comment or description of an element provided by the user.

Properties in the element context menu

You can also change the name and type of elements in the element context menu:
  • The element name can be changed using the Rename command in the element context menu. The element name can contain letters (Latin and Russian), numbers, and underscores. However, an element name cannot start with a number. Spaces, special symbols (.,:- \ /), and reserved keywords are also not allowed. For automatically created elements corresponding to skill fields, element names are generated using field names. Automatic element name generation also takes into account unused characters and keywords.
  • The element type can be changed using the Convert Element to command in the element context menu. Elements can either be simple elements (Static Text, Separator, White Gap, Barcode, Character String, Paragraph, Object Collection, Date, Phone), meaning they do not contain any nested elements, or group elements (Group, Repeating Group). Changing the element type does not convert simple elements to group elements and vice versa.

Setting properties in the Code editor

Element properties can also be specified using expressions written in programming code. For more information, see FlexiLayout language. To make setting element properties using programming code easier, you can copy the existing properties from the Properties pane and paste them to the Code Editor in programming code format. To do so, right-click the required element in the element tree and select Copy Element Properties as Code. Alternatively, use the Ctrl+Alt+C hotkey. Next, navigate to the Code Editor pane using the button in the bottom pane and navigate to the Search Condition section. Paste the properties you have copied using either the Ctrl+V hotkey or the Paste command in the Code Editor drop-down menu. Once you have carried out the above steps, you can review the automatically generated code and edit the element properties programming code if required.