Scripting Events
Event Name | Method Name | Description |
---|---|---|
After document processed | OnAfterDocumentProcessed | Occurs when the last page of a document is scanned and has been processed, before the document is added to the user interface or is sent immediately. |
After page processed | OnAfterPageProcessed | Occurs when a page is finished being processed by a document class. Does not apply to unidentified pages. |
Before document stored | OnBeforeDocumentStored | Occurs directly before a document is stored in the repository. |
Before page identified | OnBeforePageIdentified | Occurs after Pre-Classification Processing and directly before the page begins the First Page Identification process. |
Document created | OnDocumentCreated | Occurs when a document is created by a scan source. For example, when a session captures an electronic document (e.g., a PDF file) or when Laserfiche Capture Engine or Universal Capture create a document using the Keep each entry as a separate document option. |
Document identified | OnDocumentIdentified | Occurs after a document is identified but before its first page is processed. |
Document stored | OnDocumentStored | Occurs directly after a document is stored in the repository. When the method is called, the document already exists in the repository, which enables you to use Laserfiche Server Objects in your script to interact with the newly created document. |
Document unidentified | OnDocumentUnidentified | Occurs when a document is unidentified and allows for reassigning the document to another document class. |
Page created | OnPageCreated | Occurs at the start of processing when a page is scanned by a scan source. |