Home > Contents > Index >
ASSET.CANTAKEACTION
This tag checks whether editing actions related to the assets members are allowed.
Syntax
<ASSET.CANTAKEACTION
NAME="
assetName
"
VARNAME="
variable name
"
ACTIONS="
list of actions to check
"
FIELD="
meta attribute name
"
[MEMBERID="
new member asset id
"]
[OLDMEMBER="
old member asset id
"]/>
Parameters
NAME (required)
- Input. Name assigned the previously created or loaded asset.
VARNAME (required)
- Input. The name of a variable into which to put a list of "true", "false" values corresponding to the values in the ACTIONS attribute.
ACTIONS (required)
- Input. A comma-separated list of action names to check for. Valid actions are:
remove
-remove a specified membermoveto
-change the position of a specified member relative to the current positionchange
-modify the reference to a particular memberadd
-add new members
FIELD (required)
- Input. The asset's attribute name in which to store the member assets. Legal values in include
Association-unnamed
,Association-named
or the name of any attribute which accepts multiple assets.
MEMBERID (optional)
- Input. The member asset id. Required if the action is change or moveto.
OLDMEMBER (optional)
- Input. The old member asset id. Required if the action is moveto.
Description
This tag returns true or false for each action passed in. The results are a comma separated string of
true
orfalse
indicating whether the corresponding action is permitted.Error Numbers
The possible values of
errno
include:
Value Description -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded into memory). -12070 Asset was not fully loaded. Tag requires ASSET.LOAD with editable flag to fully load asset.Example
See Also
ASSET.LOAD
ASSET.ADDMEMBERS
ASSET.CHANGEREF
ASSET.CHILDREN
ASSET.CHILDTYPES
ASSET.REMOVEMEMBERS
ASSET.REORDER
ASSET.SAVE
Home > Contents > Index > Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.