Target_library, Target_library 47 – Kofax DM API User Manual
Page 494

474 C
HAPTER
5
%TARGET_LIBRARY
%TARGET_LIBRARY
This token specifies the library to use for various actions (such as
searching or creating documents).
Syntax
PCDDocObject.SetProperty(“%TARGET_LIBRARY”, _
strLibName)
Parameters
Usage
If no target library is specified, the default value is the current library.
Example
'Create a doc object.
pDocObject = CreateObject("PCDClient.PCDDocObject.1")
'Set the DM Security Token.
pDocObject.SetDST( strDST )
'Use the cyd_defprof form to set properties.
pDocObject.SetObjectType("cyd_defprof")
'Set the target library.
pDocObject.SetProperty("%TARGET_LIBRARY", library)
Related Items
See the
PCDDocObject
object.
See the
SetProperty
method.
%TARGET_LIBRARY
The token identifier that indicates that
the target library is being set.
strLibName
The name of the library.