Pcdrecentdoc – Kofax DM API User Manual

Page 123

Advertising
background image

DM API O

BJECTS

103

PCDRecentDoc

PCDRecentDoc

Use the PCDRecentDoc object to retrieve recently edited documents
from your DM Repository.

Syntax

PCDRecentDoc.

methodOrProperty

Usage

PCDRecentDoc is similar to

PCDSearch

in how it operates, except that

it automatically links to the

ACTIVITYLOG

table based on the value of

the

AUTHOR

and

TYPIST

columns. It filters any rows it returns to only

include those that have unique entries. Thus, it is the caller’s
responsibility to specify search criteria, return properties, and an order-
by property that satisfies the real meaning of a list of recent documents.
For example, the

LAST_EDIT_DATE

column in the

PROFIL

E table is

often used as an

AddOrderByProperty

method. PCDRecentDoc does

not automatically filter on the

ACTIVITY_TYPE

column in the

ACTIVITYLOG

table.

Example

The following example shows how to create an instance of
PCDRecentDoc.

.

.

.

pRecent = Server.CreateObject( _

"PCDClient.PCDRecentDoc")

.

.

.

Advertising