Home > Contents > Index >
asset:changeref
This tag changes the a member reference to reference a different asset
Syntax
<asset:changeref
name="
assetName
"
list="
list of members
"
field="
meta attribute name
"/>
Parameters
name (required)
- Input. Name assigned the previously created or loaded asset.
list (required)
- Input. The list of member assets to replace and the replacemnet assets. The list must contain the columns:
memberid
,newmemberid
, andnewmembertype
.
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 asset references.
Description
This tag changes one or more member asset references to refer to new assets.
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). -12007 The list did not have correct columns. -12070 Asset was not fully loaded. Tag requires asset:LOAD with editable flag to fully load asset.Example
Change the first unnamed Association member of a Collection asset to an Article named "Monthly Report".
See Also
asset:load
asset:addchild
asset:addmembers
asset:cantakeaction
asset:children
asset:childtypes
asset:removemembers
asset:reorder
asset:save
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.