Tag Definitions %UDP%
DIsplays a label in a list based on meta data
The %UDP% tag allows the user to display meta data content from a source or destination page. The user is required to enter a 'name' attribute to specify which meta data content to display.
UDP is also a method for determining the source of a list - see the LIST tag for further information.
| Parameter | Type | Description |
|---|---|---|
| name | String | This attribute specifies the name of the meta data content to be displayed. |
Example
In this example, we assume a source page has meta data fields (set within a page's properties) of 'Country', 'Language' and 'Currency', with values of "France", "French" and "Euro" respectively.
As the UDP value in this first example is 'Country', the rendered list item will display "France" as the label.
<li>%UDP(name=Country)%</li>
RENDERED OUTPUT:
<li>France</li>
and in this second example "Euro" is rendered as the label when the 'Currency' meta data is assigned to the tag.
<li>%UDP(name=Currency)%</li>
RENDERED OUTPUT:
<li>Euro</li>