Skip to main content
Document represents the document currently being processed in a Custom activity script — its fields, pages, classification results, source files, and export results.
Depending on which processing stages have completed, some properties may return empty values. For example, only DocumentId and SourceFiles are populated before any skill is applied. ResultClass is populated after a Classification skill runs. Fields is populated after extraction.

Properties

ClassConfidences and IsResultClassConfident are populated only when a Classification skill has been applied.

Methods

ToJsonString

Returns the document data as a JSON-formatted string.

GetField

Returns the Field object for the named field.