Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
asset:deleterevision
Deletes a revision of the tracked asset.
Syntax
<asset:deleterevisiontype="asset type"objectid="asset id"revision="version number"/>Parameters
type (required)- Input. The asset type of the asset.
objectid (required)- Input. The asset id of the asset.
revision (required)- Input. The revision of the asset.
Description
This tag deletes a revision of an existing asset. The tag should only be used for deleting revisions prior to the current version.
Error Numbers
The possible values of
errnoinclude:
Value Description -10004 A required parameter is missing. -10006 The asset id is not valid. -10011 Asset table is not revision tracked.Example
The followin example deletes a revision of an asset.
<asset:deleterevision type="Page" objectid='<%=ics.GetVar("assetid")%>' revision="3"/>See Also
asset:checkin
asset:checkout
asset:track
asset:rollback
asset:undocheckout
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.