Create the kwSales element
1
Create the Static Text element
In the TableHeader element, create a Static Text element and name it kwSales.
2
Enter the search text
Click the Static Text tab. In the Search text field, type
Sales.3
Add position relations
To place this name on the same level as the Designation name, click the Relations tab and specify the additional constraints described in Step 7.2.
4
Add a pre-search condition
Because the name of the Sales column is to the right of the kwTotal column (when it is present on the image), click the Advanced tab and specify this condition in Advanced pre-search relations: if the kwTotal element is detected, search for the image object to the right of it. In the FlexiLayout language:
5
Skip the search when Designation is missing
To optimize the search, do not search for the name if the Designation name is not detected, as described in Step 7.2.
6
Match the FlexiLayout
Match the FlexiLayout to confirm that the element is detected on the first page of the document.
