Home > Contents > Index >
This tag filters the input IList of assets using the filter attached to the specified dimension set.
<dimensionset:filter name="name of a loaded dimension set" tofilter="list of assets to filter" list="name of output list" > <dimensionset:asset ... /> </dimensionset:filter>
name
(required) tofilter
(required) list
(required) dimensionset:asset
(required) This tag filters the input IList of assets using the filter attached to the specified dimension set. The preferred dimensions used for the filter are those listed in the body content of this tag. The resultant list is registered in the ICS list pool. The input list must contain the columns assettype
and assetid
, and the output list contains only the columns assettype
and assetid
.
There are no possible errno
for this tag.
This example filters an incoming list of products, specifying the preferred dimension with the id of 123456. The output list name is the same as the input list name (and it is the same form), which means these 4 lines of code are all that need to be added to filter a list of assets. The example below is taken from FirstSiteII.
<asset:load name="GlobalDimSet" type="DimensionSet" field="name" value='<%=ics.GetVar("GlobalDimSet")%>' /> <dimensionset:filter name="GlobalDimSet" tofilter="ProductList" list="ProductList"> <dimensionset:asset assettype="Dimension" assetid='123456'/> </dimensionset:filter>
dimensionset:filtersingleasset
Home > | Contents > | Index > | ||
![]() |
Oracle JSP Tag Reference |