Available for: Content Management Server
Task: This procedure lists the IDs of all files that can be found in the specified path, i. e. files whose path begins with the path of the specified file. The result can be restricted to particular file types and formats.
Additional information: The command only returns files that have an ID which is not the case with implicit mirror files (created automatically by the system).
Syntax:
objWherePath idOrPath {parameter value}
Function parameters:
parameteris one of the following optional values:-
objTypes: determines thatvaluecontains a list of file types to which the result list is to be restricted. -
objClasses: determines thatvaluecontains a list of file formats to which the result list is to be restricted.
-
valuecontains the value of the respective parameter.
Additional information: it is possible but makes no
sense to specify both parameters since they are combined with AND and
the file format already determines the file type. If
objClasses is specified, implicit mirror files are not
taken into account.
Return value if successful: The list of the IDs of the files contained in the specified path and matching the specified parameter values.
Necessary permissions: Only files are listed to which the user has read access.
Example:
CM>objWherePath /internet objClasses {publication}
2108 2116 2124