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

 

asset.getlocale

Get the locale for a particular asset.

Syntax

<asset.getlocale
        prefix="variable space prefix into which the locale data will be scattered"
       [name="name of asset whose locale will be returned"]
       [type="type of asset whose locale will be returned"]
       [objectid="asset id of asset whose dimensions will be returned"]
     />

Attributes

prefix (required)
Variable space prefix into which the locale data will be scattered.
name (optional)
The name of the loaded asset whose locale data will be returned.
type (optional)
The asset type of the asset whose locale data will be returned. The asset does not need to be loaded.
objectid (optional)
The asset id of the asset whose locale data will be returned. The asset does not need to be loaded.

Description

Get the locale for a particular asset.

The locale's asset type, asset id aand name are set into variables in the form {PREFIX}:TYPE, {PREFIX}:OBJECTID, {PREFIX}: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.getlocale  name="a1" type="Variables.mda:c4f" objectid="Variables.mda:cfid4" prefix="glocale" />
The locale is: <string.stream variable="glocale:NAME" />

See Also

asset.getdimensions

  Home > Contents > Index >

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