Home > Contents > Index > 
ASSET.ROLLBACK
Rolls back an object to a previous revision.
Syntax
<ASSET.ROLLBACKTYPE="asset type"OBJECTID="asset id" REVISION="revision number"/>Parameters
TYPE (required)- Input. The asset type of the asset to check out.
 
OBJECTID (required)- Input. The asset id of the asset to check out
 
REVISION (required)- Specifies the target revision number of the object for the roll back.
 
Description
This tag rolls back an object to a specified revision.
errno
The possible values of
errnoinclude:
 Value Description -10002 There is a missing method for the implementing class. -10003 The method could not be invoked successfully. -10004 A required parameter is missing. -10006 The object ID is not valid. -10011 Table is not revision tracked -10012 Asset is not checked out -10017 Unable to rollback specified objectExample
This rolls back an asset to version 2.
<ASSET.ROLLBACK TYPE="Article" OBJECTID='<%=ics.GetVar("assetid")%>' REVISION="2"/>See Also
ASSET.CHECKIN
ASSET.CHECKOUT
ASSET.LOAD
ASSET.LOADREVISION
ASSET.TRACK
ASSET.UNDOCHECKOUT
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.