Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
insite:addref
Stream out an image button to add an asset at the start of a given collection.
Syntax
<insite:addref parentid="ID of containing asset" parenttype="type of containing asset" parentfield="meta-attribute current asset came from"/>Parameters
parentid (required)
- the ID of the containing asset.
parenttype (required)
- the type of the containing asset.
parentfield (required)
- the meta-attribute the current asset came from.
The field that is reordered is in fact that scatter/gather field associated with the collection asset list.
For recommendations it is called "ManualRecs". For collections the appropriate meta attribute name should be "Association-unnamed".
Description
This tag streams out an image button. INSITE users can use this button to add an asset at the start of a given collection or associate an asset with a given parent asset.
Example
<insite:addref parentid='<%=ics.GetVar("cid")%>' parenttype='<%=ics.GetVar("c")%>' parentfield='Manualrecs'/>
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.