Gretyl's Portal

Heretto Help

Variable Reuse with Keyrefs

You can reuse variables from variable warehouse maps with keyref attributes.

Overview

This example shows that:
  • The “Warehouse Map” is added to the deliverable “Map A” through the mapref element with the @processing-role="resource-only" attribute assigned.
  • “Variable A” is used in “Element A” in “Topic A”.
  • “Variable B” is used in “Element A” and in “Element D”. The elements are in different topics.
Reusing variables with keyrefs

Example

The following example shows the variable reuse mechanism through keyref attributes in Heretto CCMS. The Content Editor indicates reused variables with a key icon and a gray background.

Figure 1. Variable Reuse Example.
The following example shows that:
  • The companyName variable is used in “Topic A”
  • The productName variable is used in “Topic A” and “Topic B”
  • The variables are reused from “Variable Warehouse Map” through keyref attributes and keyword elements
Reusing variables with keys