Last Updated: 02 Mar 2020

Along with the standard list of keyword replacements you can also use the metadata keyword replacement to display a metadata field value for an asset.

Keyword Replacement Information Shown

Where <fieldname>  is the name of the field in the Metadata Schema. For example, if the name of the field is "Title", then the keyword replacement is: %asset_metadata_Title% .

The <fieldname> is case sensitive, so if the field starts with a lower case letter in the Metadata Schema, then the <fieldname> should start with a lower case letter. In other words, if the name of the field is "title", then the keyword replacement would be: %asset_metadata_title% .

%asset_metadata_<fieldname>_key% The Key value of a metadata Select field.
%asset_metadata_<fieldname>_value% The Value value of a metadata Select field.
%metadata_field_<fieldname>% Use this to reference the value of another Metadata Field within the current field.
For example, if you want to use the value of the description field as the default value in another field, the following keyword replacement would be used: %metadata_field_description% .

If the metadata field is a Select field, you can also display the separate Key and Value values of it using:


Keyword modifiers can be used on Metadata Field keywords to modify returned field values, including cases where returned field values contain keyword replacements. For example, if we have a 'date' metadata field with the value '%asset_created%', you can use the date_format keyword modifier to configure the format of the returned date format:


Displays the frontend metadata as it would be used the HTML source code

The metadata tags and values, defined in the asset's applied Metadata Schema, will be added to the asset's HTML source view. Please note that the Show On Frontend option must be enabled for a metadata field and its value to be displayed within the HTML source code. For more information, refer to the Metadata Schemas manual.

Previous Chapter Next Chapter