Contents_where_used, Contents_where_used 334, Syntax – Kofax DM API User Manual
Page 354: Parameters example

334 C
HAPTER
5
%CONTENTS_WHERE_USED
%CONTENTS_WHERE_USED
Use this token in conjunction with
%CONTENTS_DIRECTIVE
to get the
information about where the folder is being used.
Syntax
PCDDocObject.SetProperty( _
“%CONTENTS_DIRECTIVE”, _
“CONTENTS_WHERE_USED”)
Parameters
Example
'Create the object.
PropLists = CreateObject("PCDClient.PCDPropertyLists")
'Check for error(s).
checkError(PropLists, "ERROR_CREATECSIOBJECT_PCDPROPERTYLISTS")
'Set the DM security token.
PropLists.SetDST(strDST)
'Set the object type.
PropLists.SetObjectType("ContentsCollection")
'Set the action code.
PropLists.SetProperty("%CONTENTS_DIRECTIVE", _
"%CONTENTS_WHERE_USED")
'Set the destination library.
PropLists.SetProperty("%TARGET_LIBRARY", library)
'Set the document number.
PropLists.SetProperty("DOCNUMBER", docNum)
%CONTENTS_DIRECTIVE
The token identifier that indicates that
the program will manipulate the contents
of a folder.
%CONTENTS_WHERE_ USED The token identifier that returns the
names of any containers (other than the
current container) that contain the
search document.