Home > Contents > Index >
ASSET.DELETEREVISION
Deletes revision of a tracked asset.
Syntax
<ASSET.DELETEREVISION
TYPE="
asset type
"
OBJECTTYPE="
asset type
"
OBJECTID="
asset id
"
OBJECTREVISION="
asset version
"/>
Parameters
TYPE (required)
- Input. The asset type of the asset.
OBJECTTYPE (required)
- Input. The asset type of the asset.
OBJECTID (required)
- Input. The asset id of the asset.
REVISION (required)
- Input. The revision number of asset.
Description
This tag deletes an existing revision of the asset. The tag should only be used for deleting revisions prior to the current version.
Error Numbers
The possible values of
errno
include:
Value Description -10004 A required parameter is missing. -10006 The asset id is not valid. -10011 Asset table is not revision tracked.Example
The following example deletes a revision of the specified asset.
<ASSET.DELETEREVISION type="Page" objectid="Variables.assetid" REVISION="3" />See Also
ASSET.CHECKIN
ASSET.CHECKOUT
ASSET.TRACK
ASSET.ROLLBACK
ASSET.UNDOCHECKOUT
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005 - 2011 by FatWire Corporation
All rights reserved.