Document provides access to the document being processed — its pages, source files, and the skill applied to it.
Properties
| Name | Type | Access level | Description |
|---|---|---|---|
| DocumentId | string | Read-only | The document identifier. |
| DocumentSkillId | string | Read-only | The identifier of the Document skill applied. |
| DocumentSkillName | string | Read-only | The name of the Document skill applied. |
| Pages | Page[] | Read-only | The collection of pages in the document. |
| SourceFiles | SourceFile[] | Read-only | The source files the document was created from. |
Related topics
Context
The Context global object — access the document, fields, and skill parameters from inside a rule.
Page
A single document page.
SourceFile
A source file used as input to the document.
Object model
Full JavaScript object reference for use in Advanced Script Rules.
