Risksheet PDF Export configuration

Modified on Wed, 9 Apr at 5:31 PM

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


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 explicit "N/A" indication into the empty cells.


To enable this, add this following line to the risksheetPdfExport.vm file.

exporter.emptyPlaceholder = "N/A"


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

  • "Exporting only the changes between these revisions" will be noted on the cover page
  • Current revision will be shown as "current" 
    • Current means the current WYSIWYG state of the Risksheet, i.e. it contains also unsaved changes


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

  • If you want to compare two specific saved revisions, we recommend opening the newer revision and comparing to an older one
  • "Current revision" is now numbered since we used two specific revisions to compare
  • "Show only changes" was not applied, therefore it's not noted on the cover page



For any assistance, please don’t hesitate to reach out by submitting a ticket here.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article