Skip to main content
The Serves element locates the word Serves.
1

Create the Static Text element

Create an element of type Static Text and name it Serves.
2

Open the Static Text tab

Click the Static Text tab.
3

Set the search text

In the Search text field, type Serves.
4

Set the maximum error percentage

Set Max error percentage to 20.
5

Open the Advanced tab

Click the Advanced tab.
6

Add a pre-search relation

In the Advanced pre-search relations field, add an additional search constraint that looks for the object closest to the cooking time. In the FlexiLayout language, write it as Nearest: SearchElements.Cooking.CookingTimeHeader;.
You can also specify this constraint via the FlexiLayout Studio graphical user interface. Click the Relations tab, select Nearest, and in the To drop-down list select Element, and then specify CookingTimeHeader as the Reference element.