Metadata
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 |
---|---|
%asset_metadata_<fieldname>% | Where The |
%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: %metadata_field_<fieldname>_key% 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: %metadata_field_date^date_format:Y-m-d% |
%asset_frontend_metadata% | 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. |
Keyword Replacements
Chapters
- Common Keywords
- Global Keywords
- Frontend Asset Keywords
- Keyword Modifiers
- Conditional Keywords
- Account Manager
- Asset Builder
- Asset Listing Page
- Bulkmail
- Calendar
- Contexts
- Custom Form
- Decision Tree
- E-Commerce
- File
- Image and Thumbnail
- Link
- Link Manager
- Metadata
- News
- Online Poll
- Online Quiz
- Paint Layouts
- Password Reset Page
- Redirect Page
- SAML & OAuth
- Search
- Simple Edit Layouts
- Standard Page
- SugarCRM
- Tag Listing
- User Group Manager
- Workflow
Examples
The Latest
Let Us Know What You Think
Let us know if you spot any errors or if you have any ideas on how we can improve the Matrix Community Website.
Contact Squiz for Demo
Let us show you the true power of Squiz Matrix by giving you a personalised demonstration.