Available for: Content Management Server
Task: With folders the procedure returns the IDs of all files it contains and which are no link destination files (i. e. to which no links are pointing).
Syntax:
listObjectsWithoutSuperLinks objIdOrPath
Function parameters:
-
objIdOrPathis the ID of the folder or its path. The path must be absolute, i.e. start with a slash.
Return value if successful: List of file IDs
Necessary permissions: The user must have the
permissionRead permission for the folder. Only the IDs of the
files for which the user has the permissionRead permission will
be returned.
Example:
CM>listObjectsWithoutSuperLinks /
objects without superlinks in path /
/test {Test}
/mastertemplate {mastertemplate}