Folderitem_library_name, Folderitem_library_name 357 – Kofax DM API User Manual

Page 377

Advertising
background image

DM API T

OKENS

357

%FOLDERITEM_LIBRARY_NAME

%FOLDERITEM_LIBRARY_NAME

When a new item is being linked, or added to, a folder, this token
identifies the name of the home library that contains this document or
folder.

Syntax

PCDDocObject.SetProperty( _

“%FOLDERITEM_LIBRARY_NAME”, strLibName)

Parameters

Usage

If this is not set, the default setting points to the home library of
container folder.

Example

'Create a doc object.

Set pDocObject = CreateObject("PCDClient.PCDDocObject")


'Set the DM security token.

pDocObject.SetDST(strDST)


'Set the object type

pDocObject.SetObjectType("ContentItem")


'Set the destination library.

pDocObject.SetProperty("%TARGET_LIBRARY", strFolderLib)


'Set the parent folder.

pDocObject.SetProperty("PARENT", folderNum)

%FOLDERITEM_LIBRARY_
NAME

The token identifier that indicates the
current command line identifies the
library where the specified folder item
resides.

strLibName

The name of the library. This value is
obtained from the

LIBRARY_NAME

column of the

REMOTE_LIBRARIES

table.

Advertising