Adding a region element

Regions are static elements that are used to display the text from another element in the template. When you generate the output, the content of that element displays where the region element is used in the template. Region elements are helpful when you have an element that must be updated frequently.

About this task

The general process of using region elements:
  1. Add the Region icon Region element in the template where the content is to appear when the output is generated.
  2. Enter a name for the region.
  3. Place an element that must be frequently updated at the beginning of a template. This element might be, but is not limited to, a paragraph element or a text element. At the beginning of a template, you can quickly locate that element to make changes.
  4. Enter the region name in the target region property.
When the output is generated, the region element displays the content of the other element. The other element does not display in the output.
Note: Conditions that are set on region elements are ignored because they are not dynamic elements. In HTML and XSL-FO outputs, region elements are ignored entirely because sections cannot be created in these outputs.

Procedure

  1. Add a region element to the template content editor by one of the following methods:
    • From the Palette view, drag a Region icon Region element into the template content editor.
    • In the editor area, right-click and select Insert > Region icon Region.
    • In the Outline pane, right-click Content and select Insert > Region icon Region.
  2. Select the region element.
  3. In the Properties view, expand Formatting > specific.
  4. In the region name field, enter a name for the region element. Example: Region 1
  5. Click File > Save As or click the Save icon.

What to do next

  1. Select an element in the template. Example: Paragraph
  2. Expand Formatting > specific.
  3. In the target region field, enter the name of region. Example: Region 1.
  4. Save the changes.
When the output is generated, the Region 1 element displays the content that the paragraph element with the Region 1 target region contained. The paragraph element does not display in the output.

Feedback