removeBlobAndFreeLinks

Available for: Content Management Server

Task: The procedure deletes the draft version and the released version of a file as well as all the links contained in these versions.

Syntax:

removeBlobAndFreeLinks objId

Function parameters:

  • objId is the ID of the file.

Return value if successful: none

Necessary permissions: The user must have the permissionRoot permission for the file.

Example:

CM>removeBlobAndFreeLinks [obj withPath /internet get id]