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"]
       [assetid="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 (optional)
The name of the loaded asset whose dimension data will be returned.
type (optional)
The asset type of the asset whose dimension data will be returned. The asset does not need to be loaded.
objectid (optional)
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.

The IList has 3 columns: TYPE, OBJECTID, NAME, corresponding to the dimension asset type (usually "Dimension"), the asset id, and the asset name.

errno

The possible values of errno include:

Value
Description

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"/>
<ics:listloop listname="dimlist2">
	<ics:listget listname="dimlist2" fieldname="OBJECTID" output="dimlist2.objid"/>
	<ics:listget listname="dimlist2" fieldname="NAME" output="dimlist2.name"/>
</ics:listloop>

See Also

asset.setdimensions

  Home > Contents > Index >

FatWire XML Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.