Home > Contents > Index >
Add a locale to the currently loaded asset
<asset.adddimension name="name of loaded asset" [dimensionid="id of locale to add"] [dimensionname="name of locale to add"] />
dimensionid
or dimensionname
must be specified.
dimensionid
or dimensionname
must be specified.
Given an asset that is currently loaded, this tag allows users to add a locale to the asset. Once the locale has been added, the asset must be re-saved if the change is to persist.
The possible values of errno
include:
Value
|
Description
|
---|
The following example demonstrates how to load an asset and add a locale with the ID of 42 to it.
<asset.load name="myasset" type="Article" assetid="999"> <asset.addlocale name="myasset" dimensionid="42"> <asset.save name="myasset">
The following example demonstrates how to load an asset and adds a locale named en_US to it.
<asset.load name="myasset" type="Article" assetid="999"> <asset.addlocale name="myasset" dimensionname="en_US"> <asset.save name="myasset">
Home > | Contents > | Index > | ||
![]() |
FatWire XML Tag Reference |