Home > Contents > Index >
ASSET.CHECKOUT
Checks out a revision tracked asset for editing.
Syntax
<ASSET.CHECKOUT
OBJECTTYPE="
asset type
"
OBJECTID="
asset id
"/>
Parameters
OBJECTTYPE (required)
- Input. The asset type of the asset to check out.
OBJECTID (required)
- Input. The asset id of the asset to check out
Description
This tag checks out an existing asset for edit. Other users will be prevented from checking out the asset until it is checked back in.
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. -10013 Asset is checked out by another user. -10014 Asset is already checked out -10015 Unable to check out specified object.Example
This checks out an asset for edit.
<ASSET.CHECKOUT OBJECTTYPE="Page" objectid="Variables.assetid" /> <IF COND="IsError.Variables.errno=false"> <THEN> <ASSET.LOAD NAME="assetToEdit" TYPE="Page" OBJECTID="Variables.assetid" OPTION="editable" /> ... </THEN> </IF>See Also
ASSET.CHECKIN
ASSET.LOAD
ASSET.TRACK
ASSET.ROLLBACK
ASSET.UNDOCHECKOUT
Home > Contents > Index > Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.