Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

ASSET.CHANGEREF

This tag changes the a member reference to reference a different asset

Syntax

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, and newmembertype.

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.

errno

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 >

FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.