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

Page 527

Advertising
background image

DM API T

OKENS

507

%VISIBLE

%VISIBLE

The

Execute

method that

PCDLookup

supports returns both data and

metadata. The

%VISIBLE

token returns a Boolean value that indicates

whether or not this lookup column should be displayed to the user.

Syntax

PCDLookup.GetMetaPropertyValue(“%VISIBLE”)

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.

pClient.SetLookupId("DEPL_PACKAGES")


'Set the target property.

pClient.SetTargetProperty("PACKAGE_ID")


'Add the search library.

pClient.AddSearchLib(strLibName)


'Execute the search.

pclient.Execute()


'Get the visible indicator.

Set strIndicator = pClient.GetMetaPropertyValue("%VISIBLE")

%VISIBLE

The token identifier used to request the
flag setting that indicates whether or not
this lookup column should be displayed
to the user.

Advertising