Question
Can the Registration Parameter inputted during the scanning of the document be used as a Search Text for the Static Text Element in the FlexiLayout?
Answer
- Add a Registration Parameter in the FlexiLayout.

-
Create a Static Text Element and use an Advanced pre-search relations script:
SearchText(GetNamedParameterString("test"));For test purposes, it is possible to create a Block and connect it with the created Static Text Element. In FlexiCapture, this will show the found text as a Field.
-
Export the created FlexiLayout and create a Document Definition based on it.

-
Add the Registration Parameter for the Batch Type. To be able to add the Registration Parameters, make sure to use the custom Batch Type.

-
The Batch Registration Parameter can be specified during scanning using the FlexiCapture Scanning Station.

-
The Batch Registration Parameter can be copied to each document in the Automatic (Script) Workflow Stage.
for(int i=0; i<Batch.Documents.Count; i++)
Batch.Documents[i].Properties.Set("test",Batch.Properties.Get("test")) -
This will assign the value to the Document Registration Parameter and the FlexiLayout will be looking for the assigned value in a Static Text Element.

