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

 

asset.getlocales

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

Syntax

<asset.getlocales
        list="name of output list"
       [name="name of asset whose locales will be returned"]
       [type="type of asset whose locales will be returned"]
       [assetid="asset id of asset whose locales will be returned"]
     />

Attributes

list (required)
The name of the IList in the ICS object pool that will contain the locales. 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 locales data will be returned.
type (optional)
The asset type of the asset whose locales data will be returned. The asset does not need to be loaded.
objectid (optional)
The asset id of the asset whose locales data will be returned. The asset does not need to be loaded.

Description

Get an IList of the locales.

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 locales belonging to an asset.

<asset.load name='a5' type="Variables.mda:c8" objectid="Variables.mda:cid8"/>
<asset.getlocales name="a5" list="dimlist2"/>
<LOOP LIST="dimlist2">
	<CSVAR NAME="dimlist2.OBJECTID" />
   <CSVAR NAME="dimlist2.NAME" />
</LOOP>

See Also

asset.setdimensions

asset.getlocale

  Home > Contents > Index >

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