Configuring the PDF export settings can be complex and requires advanced setup. We recommend reaching out to us for assistance to ensure everything is configured correctly and meets your needs.
Please contact us by submitting a ticket here for assistance with the configuration.
TABLE OF CONTENTS
- Where to access the PDF export configuration document
- Empty cell placeholder function
- Compare mode PDF export cover page
Where to access the PDF export configuration document
1. Access directly from the Risksheet interface (recommended approach)
Starting with version 25.5.0,risksheetPdfExport.vm can be edited directly from the Risksheet interface using the new configuration editor.
The built-in editor provides syntax highlighting and a seamless editing experience.
Where to find the file:
Menu - Configuration - Edit PDF Export Configuration...
Built-in Editor view:
Make and save any changes directly in the editor without the need to download, edit in external tools, and re-upload.
Saved changes are immediately applied, just reload the Risksheet page and see them being reflected.
2. Access from the document's attachments
Where to find the file:
Menu - Document - Open Live Document, and locate the file either in the document's or template's Attachments section.
Download the file, make all the desired modifications offline using external tools, and upload the file again.
Empty cell placeholder function
Starting with version 25.2.0, it is possible to show placeholders in empty cells when exporting the Risksheet to PDF.
By default, the empty cells are exported as empty, but certain regulatory compliance requirements require putting an explicit "N/A" indication into the empty cells.
To enable this, add the following line to the risksheetPdfExport.vm file.
exporter.emptyPlaceholder = "N/A"
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article
In the following example, the empty cells were filled with N/A in the export PDF.
Compare mode PDF export cover page
Starting with version 25.2.0, exporting a PDF in compare mode will have a customised cover page.
The cover page is highly customizable with the configuration of risksheetPdfExport.vm file.
Before you read, please check this article on revisions and how to compare them.
Setup
If you have just updated to version 25.2.0, please update the Demo template.
Go to Administration > Risksheet Setup > Click on "Update Demo Template"
By doing this step, the following code snippet will be added to risksheetPdfExport.vm file.
if(compareRevision){ #printLabelVariable("Compare to revision" "compareRevision") #printLabelVariable("Current revision" "currentRevision") #newPage() #exportMainSheet("") throw new Error("STOP"); }
Note: For projects created before updating the Demo Template, you will have to add this code snippet manually to the file.
Examples of PDF export cover page
Cover page for comparison between older and current revision with Only Changes applied
Note: For regulatory compliance exports, the best practice is to compare two specific baselines or revisions instead, so that both revisions are clearly identified in the exported documentation.
Cover page for comparison between two specific revisions
For any assistance, please don’t hesitate to reach out by submitting a ticket here.