Edit Render Configuration
Before you begin: A render configuration must be in the In Work
state to edit the render configuration.
-
On the home page, select Render Configuration.
-
Select on the appropriate document.
-
Select
Edit Render Configuration..
A JSON editor opens in the browser which allows you can define the following
page components:
- Headers
- Footers
- Watermarks
- Overlays
- Timezone
- Page Numbering
- pdfRestrictions
Example of Editing Definitions
-
In the rendition section, find the header definition.
-
Edit the
"fontsize" to 15.
-
Edit the
"fontcolor" to #ff0000.
-
Inside
"contentleft", change content to the following:
"content": "{documentModifiedDate;type=date;format=long}\n{documentType}\n{documentMaturityState}\n{documentTitle}"
-
Select
Save.

Configure Date Placeholders
-
You can choose whether the time and date is visible in your documents by one of the
following:
- datetime: Full date and time.
- date: Date only.
- time: Time only.
-
Select the appropriate format based on your preference:
- short: For example, 12.1.52 or 3.30 PM.
- medium: For example, Jan 12 1952
- long: For example, January 12 1952.
- full: For example, Tuesday January 12 1952 AD or 3.30:42 PM PST.
-
For example: {documentModifiedDate;type=date;format=long} renders the modification
date and time in the long format 'January 12, 1952'.
Add the Page Template to Render Content
-
In the definition section, find the content definition.
-
Enter the following values:
- id: A unique identifier for the cover page.
- description: A brief description of the cover page purpose or content.
- pagetemplatename: The name of the page template object used to render the
content.
Note:
The page template defines the design and layout of the associated
page, for example the cover page, back page or other sections of the
document.
{
"id": "coverpage_example",
"description": "Default cover page example",
"pagetemplatename": "standard_cover_template"
}
Order the Pages
-
In the rendition section, you can enter one of the following: coverpage, backpage,
filebackcoverpage, filecoverpage.
-
In default, enter a "ref-" element such as
"ref-content".
-
Each "ref-" element can take multiple files and the order in which you enter them is
the order in which they are visible.
{
"coverpage": {
"default": {
"ref-content": ["Cover1", "Cover2"]
}
},
"filebackcoverpage": {
"default": {
"ref-footers": [],
"ref-headers": [],
"ref-content": [],
"ref-overlays": [],
"ref-watermarks": []
}
"body": {
"default": {
"ref-headers": ["Default Header"],
"ref-watermarks": ["Default Watermark"],
"ref-footers": ["Default Footer"]
}
Add Conditional Rendering
-
Inside rendition, select the appropriate element such as
coverpage.
-
Outside of the default subsection, enter
"switch".
-
Inside
"switch", enter the following:
"switch": [
{
"condition": {
"state": ["Released"]
},
"ref-watermarks": [Example_watermark]
}
Note:
This example states that if the condition of the document is Released, the watermark in "ref-watermarks" is used instead of the
watermark in "default".
- Optional:
You can also use
"doctype" as a condition. You can change which
header, footer, and cover page is visible on the page using these conditions.
- Optional:
You can exclude a file from rendering using
"includeFile": false.
Looking at the example below, you can see that if the document has the value
"Skip PDF" in file categories, it is not included for
rendering.
{
"switch": [
{
"condition": {
"expressions": [
{
"placeholder": "{documentFileCategory}",
"operator": "in",
"value": ["Skip PDF"]
}
]
},
"includeFile": false
}
]
}
Note:
The "operator" element can use "in" or
"not". "not" checks to see if the value is not in
the set of values.
Result: The specified references replace the default references in the
current configuration.
Add Global Settings
-
Beneath rendition, enter
"settings".
The following settings are visible in
"settings""settings": {
"pagenumbering": {
"scope": "Document"
},
"locale": {
"country": "US",
"language": "en"
},
"timezone": {
"zoneid": "GMT"
},
"pdfRestrictions": {
"permissionBaseline": "All",
"print": false,
"assembly": false,
"modifyContents": false,
"cryptoAlgorithm": "AESx256"
}
}
}
- Optional:
You can edit the following global settings for the rendition:
"pagenumbering": You can change the scope between document or
file.
"locale": You can select different languages and country settings
using ISO codes.
"timezone": You can set the time zone using a geographic area or
UTC offset.
"pdfRestrictions" You can define the optional security settings
printing, content copying, commenting form filling, document assemble, and content
modification You can define the encryption algorithm for example AES256.. By
default PDF security is disabled and encryption algorithm is set to none.
|