Document! X & HelpStudio Bundle 2022.1
Design the Content / Metadata Element Fundamentals
In This Topic
    Metadata Element Fundamentals
    In This Topic
    These examples assume the use of a custom template. Information on creating a custom template can be found here: Template Fundamentals

    Insert a new Metadata Element in a Page Type

    Open Page Type Editor

    1. On the Tools tab click the Options button.
    2. In the Options editor click on the Custom Templates Page Menu Item.
    3. Select a custom template from the template list and click the Edit toolbar button.
    4. Select the Page Type Page Menu Item.
    5. Select a Page Type in the Page Types list and click the Edit toolbar button.
    1. Place the cursor in the Page Type source where you want to insert the new metadata element and click the
      Insert Metadata  ribbon button.
    2. In the Insert Metadata dialog:
      1. Select CREATEDON for the Element Type.
      2. Select "d" for the dateformat parameter.
      3. Click the Confirm button.

    This inserts the following DXMETADATA element: <!--DXMETADATA start type="CREATEDON"
    dateformat="d"--><!--DXMETADATA end-->

    Edit an existing Page Type Metadata Element

    This example uses the DXMETADATA element created in the example above, though this example can be applied to any metadata element.

    Open Page Type Editor

    1. On the Tools tab click the Options button.
    2. In the Options editor click on the Custom Templates Page Menu Item.
    3. Select a custom template from the template list and click the Edit toolbar button.
    4. Select the Page Type Page Menu Item.
    5. Select a Page Type in the Page Types list and click the Edit toolbar button.
    1. Place the cursor in the DXMETADATA element and click the Edit Metadata ribbon button.
    2. In the Edit Metadata dialog:
      1. Select PHRASE for the Element Type.
      2. Select CLICK TO ENLARGE to the NAME parameter.
      3. Click the Confirm button.

    This changes the DXMETADATA element to: <!--DXMETADATA start type="PHRASE" name="CLICK TO ENLARGE"--><!--DXMETADATA end-->

    Delete a Metadata Element

    This example uses the DXMETADATA element created in the example above, though this example can be applied to any metadata element.

    Open Page Type Editor

    1. On the Tools tab click the Options button.
    2. In the Options editor click on the Custom Templates Page Menu Item.
    3. Select a custom template from the template list and click the Edit toolbar button.
    4. Select the Page Type Page Menu Item.
    5. Select a Page Type in the Page Types list and click the Edit toolbar button.
    1. Place the cursor in the DXMETADATA element and click the Delete Metadata  ribbon button.
    2. In the Confirm Delete dialog click the Yes button.