Home > Contents > Index >
ASSET.ROLLBACK
Rolls back an object to a previous revision.
Syntax
<ASSET.ROLLBACK
OBJECTTYPE="
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.
Error Numbers
The possible values of
errno
include:
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 OBJECTTYPE="Article" OBJECTID='<%=ics.GetVar("assetid")%>' REVISION="2"/>See Also
ASSET.CHECKIN
ASSET.CHECKOUT
ASSET.LOAD
ASSET.LOADREVISION
ASSET.TRACK
ASSET.UNDOCHECKOUT
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.