Home > Contents > Index >
ASSET.REMOVEMEMBERS
This tag removes member asset references from an asset.
Syntax
<ASSET.REMOVEMEMBERSNAME="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 remove. The list must contain the column:
memberid.
FIELD (required)- Input. The asset's attribute name in which to store the member assets. Legal values include
Association-unnamedandAssociation-named.
Description
This tag removes member asset references from an asset. The changes will be written to the database on
ASSET.SAVE.Error Numbers
The possible values of
errnoinclude:
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
This example loads a Page asset and removes the TopStories asset of its named association.
<ASSET.LOAD NAME="aPage" OBJECTID="Variables.id" TYPE="Collection" EDITABLE="true"/> <ASSET.CHILDREN NAME="aPage" LIST="topstories" CODE="TopStories"/> <LISTOBJECT.CREATE NAME="lo2" COLUMNS="memberid"/> <LISTOBJECT.ADDROW NAME="lo2" memberid="topstories.oid"/> <LISTOBJECT.TOLIST NAME="lo2" LISTVARNAME="removelist2" /> <ASSET.REMOVEMEMBERS NAME="aPage" FIELD="Association-named:TopStories" LIST="removelist2"/> <ASSET.SAVE NAME="aPage"/>See Also
ASSET.LOAD
ASSET.ADDMEMBERS
ASSET.CANTAKEACTION
ASSET.CHANGEREF
ASSET.CHILDREN
ASSET.CHILDTYPES
ASSET.REORDER
ASSET.SAVE
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.