Version_id, Version_id 50 – Kofax DM API User Manual
Page 522

502 C
HAPTER
5
%VERSION_ID
%VERSION_ID
This token allows a specific version ID to be set for the document.
Syntax
PCDDocObject.GetReturnProperty(“%VERSION_ID”)
PCDDocObject.SetProperty(“%VERSION_ID”, _
strVersionID)
PCDDocObject.SetProperty(“%VERSION_ID”, _
“%VERSION_TO_INDEX”)
PCDGetDoc.AddSearchCriteria(“%VERSION_ID”, _
strVersionID)
PCDPutDoc.AddSearchCriteria(“%VERSION_ID”, _
strVersionID)
Parameters
Example
'Create a search object.
Set pVer = CreateObject("PCDClient.PCDSearch.1")
'Set the DM security token.
pVer.SetDST(strDST)
'Set the object (form) type.
pVer.SetObjectType(“DEF_PROF”)
'Set the version identifier.
pVer.AddSearchCriteria("%VERSION_ID", version[i])
%VERSION_ID
The token identifier that indicates an
action is to involve a version.
strVersionID
The version identifier that is to be used
in the search or update.
%VERSION_TO_INDEX
After a document is returned by a search
operation, this token specifies the
version of a document that is to be
referenced in a subsequent content
search.