Home > Contents > Index >
Get an IList of the dimensions assigned to a particular asset.
<asset:getdimensions list="name of output list" [name="name of asset whose dimensions will be returned"] [type="type of asset whose dimensions will be returned"] [objectid="asset id of asset whose dimensions will be returned"]/>
TYPE
, OBJECTID
, NAME
,
corresponding to the dimension asset type (usually "Dimension"), the asset id, and the asset name.
Get an IList of the dimensions. Tag requires that either name or type and objectid parameters are set. If none of the parameters are set, tag will throw an exception.
The IList has 3 columns: TYPE
, OBJECTID
, NAME
, corresponding to the dimension asset type (usually "Dimension"), the asset id,
and the asset name.
The following demonstrates how it is possible to loop through the dimensions belonging to an asset.
<asset:load name='a5' type='<%=ics.GetVar("mda:c8")%>' objectid='<%=ics.GetVar("mda:cid8")%>'/> <asset:getdimensions name="a5" list="dimlist2"/> <ics:listloop listname="dimlist2"> <ics:listget listname="dimlist2" fieldname="OBJECTID" output="dimlist2.objid"/> <ics:listget listname="dimlist2" fieldname="NAME" output="dimlist2.name"/> </ics:listloop>
Home > | Contents > | Index > | ||
![]() |
Oracle JSP Tag Reference |