Home > Contents > Index > 
ASSET.UNDOCHECKOUT
Retracts the checkout of an object.
Syntax
<ASSET.UNDOCHECKOUTNAME="loaded asset" [REVERT="true|false"] [FLUSH="true|false"]/>Parameters
NAME(required)- Input. Name of the loaded asset. (See
ASSET.LOAD.)
REVERT (optional)- Specifies that the asset should revert back to its last committed state. The default value
truecauses the object to revert back to its last committed state. Specifying the valuefalseremoves the checkout lock with out reverting the object back to the last committed state.
FLUSH (optional)- Flushes the asset from the object pool. A
truevalue indicates the object should be flushed. The default value isfalse.
Description
This tag is used for retracting a checkout of an asset.
Error Numbers
The possible values of
errnoinclude:
Example
This checks out an asset for edit and then retracts the checkout.
<ASSET.CHECKOUT type="Page" objectid="Variables.assetid" /> <IF COND="IsError.Variables.errno=false"> <THEN> <ASSET.LOAD NAME="assetToEdit" TYPE="Page" OBJECTID="Variables.assetid" OPTION="editable" /> <ASSET.UNDOCHECKOUT NAME="assetToEdit"/> </THEN> </IF>See Also
ASSET.CHECKIN
ASSET.CHECKOUT
ASSET.LOAD
ASSET.TRACK
ASSET.ROLLBACK
Home > Contents > Index > 
Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.