Parameters
Document assembly scripts created in ABBYY FlexiCapture 11 and earlier keep working in ABBYY FlexiCapture 12. If you delete such a script, you have to write a replacement against the new interface, which uses a collection of child elements.
Avoid addressing a document’s internal fields, because doing so loads the whole document and can slow assembly down. Where you need to address document fields, prefer index fields.
The
AssemblingErrors parameter can hold different assembly errors depending on how you obtain it:
- AssemblingErrors can be passed to the script as one of input parameters. In this case it will contain the error of the current check.
- One of input parameters of the script is a collection of documents for which the assembly script is launched. Each document has its own assembly errors, which can be retrieved the following way: document.AssemblingErrors. In this case the AssemblingErrors parameter will contain errors of the last check carried out for the given document.
