Versioning
Versions are immutable snapshots of a report at a specific point in time. They serve as stable reference points for deployments.
What a Version Contains
Section titled “What a Version Contains”A version is a complete package:
| Component | Description |
|---|---|
| Layout | Page format, margins, orientation |
| Pages & Panels | All pages with their content elements |
| Parameters | Report parameters with default values |
| Data Set Snapshots | All referenced data sets with their queries |
The data set queries are frozen at the time of version creation. Even if someone changes a data set’s query afterwards, the version still contains the original query.
Creating a Version
Section titled “Creating a Version”- Open the report in the designer
- Click Save Version
- The version number is automatically incremented (v1, v2, v3, …)
When saving, the following happens:
- The current report state (layout, pages, parameters) is captured
- All data sets referenced in panels are loaded
- Their queries are embedded as snapshots in the version
Working Copy (Report + live Data Sets) │ ▼ "Save Version"Version v1 (Report snapshot + Data Set query snapshots)Inspecting a Version
Section titled “Inspecting a Version”In the Version History Drawer (right side of the designer), you can expand each version to view the included data sets with their snapshotted queries. This lets you see exactly which queries are part of which version.
Rollback (Restore)
Section titled “Rollback (Restore)”A rollback restores the working copy to the state of an earlier version:
- Open the Version History Drawer
- Select the desired version
- Click Restore
Version v1 (previous state) │ ▼ "Restore"Working Copy = Layout + Pages + Parameters from v1Data Sets = Queries reset to v1 snapshot stateRelationship with Deployments
Section titled “Relationship with Deployments”Versions are the foundation for deployments. Only after a version exists can it be deployed to an environment. The deployed version determines which queries and layout are used when exporting a PDF with that environment.
More on this in Deployments.