Object_type_id – Kofax DM API User Manual

Page 432

Advertising
background image

412 C

HAPTER

5

%OBJECT_TYPE_ID

%OBJECT_TYPE_ID

Use this token to specify the form that is to be used in the operation.

Syntax

PCDDocObject.SetProperty(“%OBJECT_TYPE_ID”, _

strFormName)

Parameters

Example

'Create a doc object.

Set pDocObject = CreateObject("PCDClient.PCDDocObject")


'Check for errors.

checkError(pDocObject, "ERROR_CREATECSIOBJECT")


'Set the DM security token.

pDocObject.SetDST(strDST)


'Set the object type.

pDocObject.SetObjectType("Profile")


'Set the form name.

pDocObject.SetProperty("%OBJECT_TYPE_ID", formName)

Related Items

See the

PCDDocObject

object.

See the

SetProperty

method.

%OBJECT_TYPE_ID

The token identifier that indicates that
this statement specifies the name of the
form that is to be used.

strFormName

A string variable that contains the name
of the form that is to be used for this
operation.

Advertising