Content, Syntax, Parameters example – Kofax DM API User Manual
Page 326
306 C
HAPTER
5
%CONTENT
%CONTENT
This token is used to retrieve a stream for the content of the document.
It can also be used to update the document.
Syntax
PCDGetDoc.GetPropertyValue(“%CONTENT”)
PCDPutDoc.GetPropertyValue(“%CONTENT”)
Parameters
Example
'Create the object.
pGetDoc = CreateObject("PCDClient.PCDGetDoc.1")
'check for errors
checkError(pGetDoc, "ERROR_CREATEGETDOC")
'add library to the search criteria
pGetDoc.AddSearchCriteria("%TARGET_LIBRARY", library)
'add docnum the search criteria
pGetDoc.AddSearchCriteria("%DOCUMENT_NUMBER", docnum)
'add version of the doc the search criteria
pGetDoc.AddSearchCriteria("%VERSION_ID", version_id)
'run the search
pGetDoc.Execute()
'check error
checkError(pGetDoc, "ERROR_CHECKOUTFILESIZE")
%CONTENT
Used with the
PCDGetDoc object, the
%CONTENT token retrieves a pointer to
a
PCDGetStream object that allows
the program to get the content of the
document.
Used with the
PDCPutDoc object, the
%CONTENT token retrieves a pointer to
the
PCDPutStream object so the
content of the document can be written.
- AP Automation (12 pages)
- AP Automation (18 pages)
- TotalAgility AP Automation (43 pages)
- SupplierExpress (80 pages)
- SupplierExpress (94 pages)
- SupplierExpress (6 pages)
- Capture (14 pages)
- Capture (44 pages)
- Capture (12 pages)
- Capture (10 pages)
- TotalAgility (28 pages)
- Getting Started with Ascent Xtrata Pro (623 pages)
- Export Connector 1.0.0 (12 pages)
- Export Connector 1.0.0 (6 pages)
- Export Connector 1.0.0 (10 pages)
- Export Connector 8.0.0 (16 pages)
- Export Connector 8.0.0 (14 pages)
- Export Connector 8.0.0 (8 pages)
- Export Connector 8.1.0 (12 pages)
- Export Connector 8.1.0 (16 pages)
- Export Connector 8.2.1 (26 pages)
- Export Connector 8.2.1 (6 pages)
- Capture Export Connector (30 pages)
- Capture Export Connector (18 pages)
- Release Script (24 pages)
- Ascen 7.0 Release Script (32 pages)
- Ascen 7.0 Release Script (48 pages)
- Ascen 7.0 Release Script (36 pages)
- Ascent Captur (30 pages)
- Export Connector for Fax 1.1.0 (10 pages)
- Export Connector for Fax 1.1.0 (8 pages)
- Export Connector 8.2.0 (10 pages)
- Export Connector for TotalAgility 1.1.0 (10 pages)
- Export Connector 8.3.0 for Microsoft SharePoint (18 pages)
- Capture Export Connector for Documentum 6.7 (18 pages)
- Export Connector 7.6.0 (8 pages)
- Export Connector 8.2.0 for IBM FileNet Content Manager (30 pages)
- Ascen 7.0 Release Script for FileNet Panagon Content Services 5.2-5.4 (30 pages)
- Export Connector 8.1.0 for FileNet Content Manager (8 pages)
- Ascen 7.1 Release Script for FileNet Content Manager 4.0 (48 pages)
- Ascen 7.5 Release Script for FileNet Content Manager 4.5 (42 pages)
- Capture 8.0 Release Script for FileNet Content Manager 5.0 (30 pages)
- Ascen 7.0 Release Script for Hummingbird DM 5.0-5.1 (46 pages)
- Ascen 7.5 Release Script for Hummingbird DM 6.0 (45 pages)