Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
dimensionset:setenableddimensions
This tag adds the dimension assets listed in the body content of this tag to the dimension set specified, removing any previously enabled dimensions.
Syntax
<dimensionset:setenableddimensions name="name of loaded asset that will have dimensions enabled for it"> <dimensionset:asset ... /> </dimensionset:setenableddimensions>Attributes
name
(required)- The name of the DimensionSet asset that will have dimensions added to it.
Parameters
dimensionset:asset
(required)- Dimension asset to enable for this DimensionSet. This tag may be repeated.
Description
This tag adds the dimension assets listed in the body content of this tag to the dimension set specified, removing any previously enabled dimensions. The asset should be saved for the changes to persist.
Error Numbers
There are no possible
errno
for this tag.Example
In this example, 4 dimension assets are added to the DimensionSet fbfds1.
<dimensionset:setenableddimensions name="fbfds1"> <dimensionset:asset assettype="Dimension" assetid='<%=ics.GetVar("fbfd1.dimension.id")%>'/> <dimensionset:asset assettype="Dimension" assetid='<%=ics.GetVar("fbfd2.dimension.id")%>'/> <dimensionset:asset assettype="Dimension" assetid='<%=ics.GetVar("fbfd3.dimension.id")%>'/> <dimensionset:asset assettype="Dimension" assetid='<%=ics.GetVar("fbfd4.dimension.id")%>'/> </dimensionset:setenableddimensions> <asset:save name="fbfds1"/>See Also
dimensionset:removeenableddimensions
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005 - 2011 by FatWire Corporation
All rights reserved.