Question
How to transfer full-text recognition into the field for a one-page document?
Answer
It is possible to capture with a custom script in the workflow.
To do so, please follow the next steps:
1. The field should be created in the document definition:
2. Add a script stage (Automatic > Document Processing type) to the workflow after recognition in Project Properties or Batch Type Properties > Workflow tab:
The script will be the following:
Document.Field("Document Section 1\\Field").Text = Document.Pages[0].FullText;
Please note, that the document should go through the workflow, i.e. imported via Hot Folder or sent from Scanning Station.
On the verification the full-text recognition results should appear in the created field:
Additional information
The following article can give a general idea of how to refer to a field from the script.
Error when executing the Event Handler: No field with name '<Document Section Name>\<Field Name>'
Comments
0 comments
Please sign in to leave a comment.