obj get

Available for: Content Management Server, Template Engine

Task: Returns the value of the specified parameter, which refers to all CMS files.

Syntax:

obj get parameter

Function parameters:

  • parameter specifies the name of the parameter whose value is being searched for. The following names are valid:
    • dependenciesCount (TE only): The number of entries in the dependency table.
    • getKeys: The list of parameters available for this command.
    • objCount: The number of files currently managed.
    • objTypes: The list of the file types
    • rootPubId: The ID of the base folder

Return value if successful: the value of the corresponding parameter.

Necessary permissions (CM only): no restrictions

Example:

CM>obj get objTypes
generic image publication document template