Version_label, Version_label 504 – Kofax DM API User Manual

Page 524

Advertising
background image

504 C

HAPTER

5

%VERSION_LABEL

%VERSION_LABEL

This token is used to retrieve the preview content.

Syntax

PCDGetDoc.AddSearchCriteria(“%VERSION_LABEL”, _

“PR1”)

Parameters

Example

'Create a PCDGetDoc object.

pGetDoc = CreateObject("PCDClient.PCDGetDoc.1")


'Set the DM security token.

pGetDoc.SetDST(strDST)


'Get the preview content.

pGetDoc.AddSearchCriteria("%VERSION_LABEL", "PR1")


'Retrieve the document version.

pGetDoc.Execute()

Related Items

See the

PCDGetDoc

object.

See the

AddSearchCriteria

method.

See the

%CONTENT

token.

%VERSION_LABEL

The token identifier that specifies that
the version’s preview content is to be
returned.

PR1

A required parameter that is used in the
search.

Advertising