Defining a dm object, Dm support objects, Defining a dm object 6 – Kofax DM API User Manual

Page 26: Types of dm objects

Advertising
background image

6

C

HAPTER

1

Types of DM Objects

Query (read only), which is used for search, Quick Retrieve, and
lookups.

PCDDocObject (read/write), which implements the DM objects
and modifies tables in the library database.

Child objects of PCDDocObject (read/write), which get or set
trustees, and perform file uploads and downloads.

Defining a DM

Object

In general, to define a DM object, you need to do the following:

1 Create the object in one of the following ways:

— Early bind:

Dim search as

PCDSearch

— Late bind:

Dim search as Object

Set search = _

CreateObject("PCDClient.

PCDSearch

")

2 Set the DST using the

SetDST

method.

3 Specify a library for the object.

4 Specify the object type (the name of a form).

5 Set properties to identify the specific object.

6 Perform a method.

DM Support

Objects

The DM support objects provide a number of functions for the DM
Server:

Provide information required for the DM Server log on process.

Log on to the DM Server.

Return a document security token (DST) for later transactions.

Provide additional general objects that do not require a DST.

The following are DM support objects:

Advertising