Metadata Design Area

Last Updated: 17 Dec 2015

This design area allows you to add the metadata tags to the HTML source code of the page. The tags that are added will depend on the Metadata Schemas that have been applied to the asset.

Bookmarks to the headings on this page:

  1. Set Variables
  2. Example

The code that is required for the Metadata design area is shown below.

<MySource_AREA id_name="metadata" design_area="metadata" />

Tip: The fields in a Metadata Schema will not appear in the HTML source code of the page is the Show On Frontend field is set to No for either the field, section or the schema itself. For more information, refer to the Metadata Schemas manual.

Set Variables

The set variable available for the Metadata design area is as follows:

  • metadata_field: this variable allows you to output a specific metadata field instead of the Metadata Schema. The example below sets this to the filed DC.textField.
    <MySource_AREA id_name="metadata" design_area="metadata">
    <MySource_SET name="metadata_field" value="DC.textField" />


Below is the HTML code that was added to the static HTML file to show where the metadata design area should go in the design.

  <!-- Metadata lives here -->

The required code is added to the parse file for the Metadata design area, as shown below.

  <!-- Metadata lives here -->
<MySource_AREA id_name="metadata" design_area="metadata" />

The metadata tags are now added to the HTML source code of the page, as shown below.

  <!-- Metadata lives here -->
<!-- Metadata Schema //-->
  <!-- User Defined //-->
  <meta name="Description" content="This is the Home page" />
  <meta name="Subject" content="" />
  <meta name="Keywords" content="" />
  <!-- System Defined //-->
  <meta name="Author" content="Root User" />
  <meta name="DateCreated" content="04/08/2008 08:54:48" />


Previous Chapter Next Chapter