FillDataFromOCR

Fill data from OCR info from given document.

Syntax

FillDataFromOCR()
FillDataFromOCR("Invoice field")
FillDataFromOCR("Invoice field", true)

Function arguments

  • fieldName – (String) [Optional] Name or value of the document field from which OCR data will be used. If empty then first document with OCR data from documents list will be used.
  • refreshResponse – (Boolean) [Optional] If set to true, then system will refresh response from OCR. Default is false.

Return value

This function returns Boolean.
Returns true if attachment with OCR info was found, false otherwise

Examples

Example 1:
Get OCR info from first document from documents list that have OCR info.

FillDataFromOCR()

Example 2:
Get OCR info from document from given File field.

FillDataFromOCR("Invoice")
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.