Render Configuration Elements

The following tables provide a description of elements and placeholders that you can use in your render configurations.

This page discusses:

See Also
Editing Render Configurations with Examples

Render Configuration Definitions

Definitions Description
Header and Footer Headers and footers are sections of a document that contain information repeated at the top (header) or bottom (footer) of each page.
Watermark A watermark is a text that is superimposed onto a document, typically in a translucent or semi-transparent manner, without obstructing the primary content. Watermarks are often used for various purposes, including indicating the status or ownership of a document.
Overlay Overlays are graphical elements such as images that can be placed over a document. They are typically used for logos, stamps, or other decorative elements that appear on top of the document's main content. Overlays can be aligned, resized, rotated, and made semi-transparent depending on the required appearance.
Content

Content refers to a page template object associated with the render configuration object. This defines the layout and style for specific pages such as the cover page, back page, or any other part of the document. Each content entry must be identified with a unique ID and linked to a designated page template.

Render Configuration JSON Elements

You can use these elements to alter the appearance of an definiton in your render configuration. Some elements are specific to one or more definitions. Some elements also can have their own settings, for example:

"contentright": {
    "content": "{documentName}\n{documentMaturityState}\n{documentTitle}",
    "wordwrap": true,
    "width": "33%",
    "textalignment": "Right"

Elements Definitions Specific Description
id N/A A unique identifier for the definition.
fontname N/A The type of font that is used. For example: Times New Roman.
fontstyle N/A You can choose from these styles: regular, bold, or italic.
fontsize N/A The size of the font.
fontcolor N/A The color of the font in RBG or Hex.
contentleft, contentcenter, contentright Header, Footer You can add this element to display content on the left, center, or right of the page. This element can contain other elements for settings.
marginleft, marginright, margintop, marginbottom Header, Footer, Overlay Margins around the header, footer, or overlay.
content Watermark The text content of the watermark, including placeholders.
orientation Watermark, Overlay This controls the rotation angle of the watermark or overlay. For example: 45° degrees show the watermark or overlay as diagonal on the page.
horizontalalignment, verticalalignment Watermark, Overlay This controls where the watermark or overlay aligns on the page.
description Overlay, Content A description of the overlay.

A brief description of the page's purpose or content.

width, height Overlay Specifies the dimensions of the overlay, either in pixels or as a percentage of the page size.
autofit Overlay A Boolean value that automatically resizes the overlay to fit the page.
opacity Overlay Specifies the transparency of the overlay, typically as a percentage.
scale Overlay Allows you to scale the overlay size by a specified percentage. For example, a value of 100 indicates no change in size, while values greater than 100 enlarges the overlay, and values less than 100 reduces its size.
pagetemplatename Overlay, Content The name of the page template object used to render the content. This page template defines the visual design and layout of the associated page, such as the cover page, back page, or other sections of the document.

Render Configuration Placeholders

You can add these placeholders to an definition. These placeholders can help display document details on the page. For example:

"contentleft": {
    "content": "{documentName}\n{documentMaturityState}\n{documentTitle}",
    "wordwrap": true,
    "width": "33%",
    "textalignment": "Left"
  }
This displays the documents name, maturity state and title on the left side of the page. Between each placeholder in this example, "\n" is used to make sure each placeholder displays on the next line.

Placeholders Description
{documentType} The type of the document.
{documentOwner} The owner of the document.
{documentOrganization} The organization responsible of the document.
{documentModifiedDate} The modification date of the document.
{documentEffectiveDate} The documents effective date.
{documentRevision} The revision number of the document.
{documentMaturityState} The maturity state of the document for example (Draft, Released).
{documentTitle} The title of the document.
{documentName} The name of the document.
{documentAttribute[Attribute Name]} The value of an attribute on the document (including custom attributes).
{documentPageNo} The current page number.
{documentPageTotal} The total number of pages in the document.
{documentFileName} The filename of the document.
{documentFileComments} Comments associated with the document file.
{documentFileSequence} The sequence number of the document file.
{documentFileCategory} The category of the document file.
{documentFileModified} The modification date of the document file.
{documentFileOriginated} The creation date of the document file.
{documentFileRevision} The revision of the document file.
{documentRendtionTime} The time the document renders.
{documentRenditionTimeZone} The timezone used during rendition.
{documentRenditionLocale} The locale settings used during rendition.

Render Configuration Approver Placeholders

Approver placeholders are specialized and can only be used in the content of Word documents. You can use these placeholders to display information about document approvers.

The placeholders for document approvers must be enclosed within the {documentApproversBegin} and {documentApproversEnd} tags. The section of the document between these two placeholders repeats for each document approver, and the corresponding approver details replacing the relevant placeholders.

Placeholders Description
{documentApproversBegin} The start of the Approvers section.
{documentApproversEnd} The end of the Approvers section.
{documentApproverFirstName} The first name of the user who approved the document.
{documentApproverLastName} The surname of the user who approved the document.
{documentApproverUserName} The username of the document approver.
{documentApproverOranization} The organization of the user who approved the document.
{documentApproverRole} The role of the document approver.
{documentApproverTaskTitle} The task title of the user who approved the document.
{documentApproverApprovedOn} The date the document approver approved the document.