Generate a formatted PDF document from your Risksheet data with support for multiple table types, rating definitions, downstream traceability, and custom layouts via Velocity templates.
Save all changes — PDF export requires a clean, saved state.
Select Export to PDF from the toolbar or context menu.
A progress notification appears with “Exporting to PDF — Please wait while the file is being generated.”
Risksheet loads the PDF export script (risksheetPdfExport.vm), generates the document, and triggers a file download.
PDF export is blocked if the sheet has unsaved changes or if comparison mode is active. You must save all changes and exit comparison view before the export option becomes available. Unlike Excel export, PDF export strictly requires a clean state.
PDF export behavior is controlled by a Velocity template file called risksheetPdfExport.vm. This template is loaded from one of two locations:
Document attachment — a risksheetPdfExport.vm file attached directly to the LiveDoc
Template inheritance — loaded from the parent template if no document-level file exists
The script receives a full Velocity context including document metadata, transaction access, and custom macros from pdfExportMacros.vm. It also has access to an exporter object with built-in methods:For detailed script customization, see Customize PDF Export Scripts.
Main Sheet — The primary risk analysis grid exports with all visible columns, preserving cell colors (v24.2.2+), headers, and hierarchical row merging. You can selectively hide columns using the hideColumns parameter (comma-separated binding names).Rating Tables — Include rating scale definitions with three columns: ID, Label, and Description. Data comes from the ratings section of risksheet.json. Include multiple tables (severity, occurrence, detection, RPN) in a single export.Downstream Traceability Tables — Export linked downstream items (mitigation tasks, verification activities) with automatic deduplication based on controlColumn values.Enum Value Tables — Export custom enumeration definitions using exportEnumTable with enumId matching your enums configuration.Custom Tables — Build arbitrary tables via exportCustomTableData with custom column definitions (binding, header, width properties) and optional absolute positioning (xpos/ypos).
Blank by default, or custom text via emptyPlaceholder
Set the emptyPlaceholder property in your custom export script to display text like “N/A” or ”-” for null or empty cells instead of leaving them blank.
Enum fields in PDF export may behave inconsistently: regular enums export with display titles (e.g., “High”), but rating enums (numeric IDs) and user/assignee fields may show internal IDs instead of display names. Use saved views for more consistent formatting control.
Cell merging is the primary bottleneck for PDF exports. Switching to Flat table view can reduce export time from hours to minutes. The masterMergeOnly property controls hierarchical versus flat export structure. Version 25.2.0 includes optimizations for merged cell processing.
Set refreshOnSave to false to avoid full page reloads that impact the export workflow
Set moduleOnlyPermissions to true for faster loading on large sheets (v24.8.5+)
Text truncation — PDF export may truncate text in cells for linked elements when content exceeds the calculated cell height. A fix is tracked with high priority.
Multi-page row repetition — When risk items span multiple pages, text from the previous page repeats at the top of the next page for context continuity. This is by design but can confuse reviewers.
Baseline display — Baseline references in PDF exports may show incorrect or missing entries in variant projects. Use document ID/path-based baseline identification for reliability.
Images not exported — Embedded images in work item fields do not appear in PDF exports.