Document – Kofax DOKuStar Validation User Manual

Page 46

Advertising
background image

DOKuStar Validation for Ascent Capture

Page

42

Document

Holds information about one document, especially the fields and the images. Furthermore, there is an

Activate

method which lets the document get activated.

Properties and methods of the

Document

object (excerpt):

Property/Method

Returns

Description

Activate

Boolean

Activates the document. Returns

True

if

successful.

Activated

Boolean

Returns

True

if the document is currently

activated.

DataSources

DocumentDataSources

Returns the list of

DataSource

objects

for this document.

Deactivate

Boolean

Deactivates the document, moving
activation to the next one.

Fields

Fields

Returns the list of fields for this document.
This will always deliver the complete list of
fields as defined for the corresponding

DocumentType

, no matter if the fields

were found by DOKuStar or not.

Name

String

Name of the document. This is the

DocumentType

name, which in turn is

the form type name from Ascent Capture.

Note that the

Activate

and

Deactivate

methods return a Boolean; these methods will fire the event

OnDocumentActivating/ed,

or

OnDocumentDeactivating/ed

respectively, which might be canceled

by a scripting routine; in this case, they would return

False

.

Advertising