Verify_only – Kofax DM API User Manual
Page 515

DM API T
OKENS
495
%VERIFY_ONLY
%VERIFY_ONLY
This token allows you to verify that the attributes are correct for the
document. This is used primarily when a document is first created. You
might want to do this to make sure no errors are returned.
Syntax
PCDDocObject.SetProperty(“%VERIFY_ONLY”, _
strYesNo)
Parameters
Usage
The
%VERIFY_ONLY
token supports the following tokens:
Example
'Create a document object.
Set pObj = CreateObject("PCDClient.PCDDocObject")
'Set the DM security token.
pObj.SetDST(strDST)
'Validate the parameters, but do not create the object.
pObj.SetProperty("%VERIFY_ONLY", "%YES")
'Do the verification now.
pObj.Create
%VERIFY_ONLY
The token identifier that indicates a
check of document attributes is going to
take place.
strYesNo
A string that resolves to either %YES or
%NO.
%YES
Yes, verify the parameters only.
%NO
No, do not just verify parameters. Actually create
the object in addition to verifying the parameters.