Propertytype, Syntax, Parameters example – Kofax DM API User Manual

Page 462: Related items

Advertising
background image

442 C

HAPTER

5

%PROPERTYTYPE

%PROPERTYTYPE

The

Execute

method that

PCDLookup

supports returns both data and

metadata. The

%PROPERTYTYPE

token is used to retrieve the data type

of the property as shown on the base form.

Syntax

PCDLookup.GetMetaPropertyValue(“%PROPERTYTYPE”)

Parameters

Example

'Create the object.

Set pClient = CreateObject("PCDClient.PCDLookup")


'Set the DM security token.

pClient.SetDST(strDST)


'Set the form.

pClient.SetSearchObject("cyd_defprof")


'Set the lookup ID to a SQL table.

pClient.SetLookupId("DEPL_PACKAGES")


'Set the target property to a column in the SQL table.

pClient.SetTargetProperty("PACKAGE_ID")


'Specify the search library.

pClient.AddSearchLib(strLibName)


'Execute the search.

pclient.Execute()


'Get the name of the column.

Set strColName = pClient.GetMetaPropertyValue("%PROPERTYTYPE")

Related Items

See the

PCDLookup

object.

%PROPERTYTYPE

The token identifier used to request the
data type of the property.

Advertising