Contents_copy_contents, Syntax, Parameters example – Kofax DM API User Manual
Page 330
310 C
HAPTER
5
%CONTENTS_COPY_CONTENTS
%CONTENTS_COPY_CONTENTS
This token is used in conjunction with
%CONTENTS_DIRECTIVE
to
specify that a folder’s content should be copied into another folder.
Syntax
PCDDocObject.SetProperty( _
“%CONTENTS_DIRECTIVE”, _
“%CONTENTS_COPY_CONTENTS”)
Parameters
Example
'create the object.
pDocObject = CreateObject("PCDClient.PCDDocObject")
'set the DM security token.
pDocObject.SetDST(strDST)
'Set the object type.
pDocObject.SetObjectType("ContentsCollection")
'Set the library.
pDocObject.SetProperty("%TARGET_LIBRARY", library)
'Set the source.
pDocObject.SetProperty("%CONTENTS_SRC_PARENT", srcFolderNum)
'Set the source version.
pDocObject.SetProperty("%CONTENTS_SRC_PARENT_VERSION", _
srcFolderVersion)
'Set the source library
pDocObject.SetProperty("%CONTENTS_SRC_PARENT_LIBRARY", _
srcFolderLibID)
%CONTENTS_DIRECTIVE
The token identifier that indicates that
the program will manipulate the contents
of a folder.
%CONTENTS_COPY_
CONTENTS
The token identifier that indicates the
contents of one folder are being copied
to another folder.