findObjectId

Available for: Content Management Server

Task: The procedure determines the id of a file if it exists.

Syntax:

findObjectId idOrPath

Function parameters:

  • idOrPath may be the id or path of a file.

Return value if successful: the id of the file (string).

Necessary permissions: none.

Example:

CM>findObjectId /myFolder
2145