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

 

ASSET.GETDIMENSIONS

Get an IList of the dimensions assigned to a particular asset.

Syntax

<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"]/>

Attributes

LIST (required)
The name of the IList in the ICS object pool that will contain the dimensions. The IList has 3 columns: TYPE, OBJECTID, NAME, corresponding to the dimension asset type (usually "Dimension"), the asset id, and the asset name.
NAME (required if type and objectid not used)
The name of the loaded asset whose dimension data will be returned.
TYPE (required if name not used)
The asset type of the asset whose dimension data will be returned. The asset does not need to be loaded.
OBJECTID (required if name not used)
The asset id of the asset whose dimension data will be returned. The asset does not need to be loaded.

Description

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.

Example

The following demonstrates how it is possible to loop through the dimensions belonging to an asset.

<ASSET.LOAD NAME="a5" TYPE="Variables.mda:c8" OBJECTID="Variables.mda:cid8"/>
<ASSET.GETDIMENSIONS NAME="a5" LIST="dimlist2"/>
<LOOP LIST="dimlist2">
    <ICS.LISTGET LISTNAME="dimlist2" FIELDNAME="OBJECTID" OUTPUT="dimlist2.objid"/>
    <ICS.LISTGET LISTNAME="dimlist2" FIELDNAME="NAME" OUTPUT="dimlist2.name"/>
</LOOP>

See Also

asset.setdimensions

  Home > Contents > Index >

Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.