Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Background

Confluence pages are dynamically rendered when viewed. When pages are used as controlled documents in eSign Document Management (eDoc), the page contents and attachments are locked down for review, approval and document release. This prevents the stored content of the page from being changed, and the users will only be able to view the document that was approved.

...

In this scenario, locking down the Confluence page content itself does not prevent the users from seeing new or imported content.

Approaches

There are two general approaches to resolve this challenge

...

The remainder of this how to provides a walkthrough of eSign Document Snapshots.

Overview

Snapshots provide an option to embed a static point-in-time revision of a document for review, approval and release. With a Snapshot, the output of dynamic content macros is frozen prior to document approval, meaning that the document when viewed by users will not change, even if it contains external content.

Technically the Snapshot is a PDF copy of the page. The eDoc app manages the Snapshots during the Review, Approval and Release process. Snapshots are displayed within an embedded Adobe PDF rendering frame that provides a virtually identical reading experience to a standard Confluence page.

Snapshot Workflow

Step 1 - Enable Snapshots

Snapshots can be enabled on any open Working Copy. Ensure the page has the eSign Document Header macro.

...

Step 2 - Generate Snapshot

When the draft page is ready for review, Use the Confluence - Export to PDF function to generate a PDF export of the draft Working Copy.

...

TIP - TODO - minimize page margins

Step 3 - Document Review and Approval

Proceed with standard eDoc review and approval. Note that the reviewers should focus on the snapshot content within the blue lines as that is what will be approved and published.

...

As the snapshots are stored as attachments within the working copy, replacement snapshots will show as a document modification and require re-approval.

Step 4 - Document Release

After approval, proceed with the standard release workflow. With Snapshot mode enabled, eDoc will perform some additional work to the release copy. Visually only the Snapshot content will be displayed.

...

Released Documents will contain the standard eDoc header and the immutable embedded snapshot content.

...

Appendix - Additional Resources

A. Document Control and Publishing for External PDF Documents

The Snapshot feature can also be used to route, review, approve and publish any external PDF file as a controlled document. This may be useful for teams whose document sources are in alternate formats and they do not want to convert or edit them in Confluence. If the source can be converted to PDF, it can be uploaded to eDoc as a Snapshot.

B. Tuning the PDF Export

Atlassian Confluence cloud has limited support for customizing the PDF page export. For example the default margins of the generated PDF can be reduced to have the snapshot PDF have less white space around it.

...

Apply custom PDF export configuration in Confluence Space Settings > Look and Feel > PDF Export > PDF Stylesheet for the space your working copies are stored.

Confluence New PDF Export Engine

Code Block
/* Adjust PDF export to reduce page margins for eDoc Snapshots */
@page {  
  margin: 0mm;   
}  

Confluence Legacy PDF Export Engine

Code Block
/* Adjust PDF export to reduce page margins and hide title for eDoc Snapshots */
@page {  
  margin: 0mm; 
  /* including this forces Confluence to fall back to legacy engine */
  @top-center    { font-size: 8pt;  }  
}  
.pagetitle h1 { display: none; }  /* hide the page title */  

Notes

Alternative PDF Export Apps

There are additional PDF Export apps available in the marketplace that may provide additional options if the built-in PDF export does not meet your team’s needs.

...