obj objRef revert

Available for: Content Management Server

Task: The draft version of the file is deleted.

Syntax:

obj (withId objId) | (withPath path) | root revert [comment taskComment]

Function parameters:

  • taskComment is the comment that is to be entered in the new task.

Return value if successful: none

Necessary permissions (CM only): The user must have the permissionWrite permission for the specified file.

Example:

CM>obj withId 20033 revert