Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create PDF Export template

Inas Ait-Salah
Contributor
March 6, 2023

Hello is it possible to create a PDF Template with following information :

user name of the person creating the export

date of the export

page id

page version 

 

is this possible on cloud / dc or server ? Without using page properties on every page ?

Is this possible ?

Thank you

2 answers

2 votes
Tom Rough
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 7, 2023

Hey @Inas Ait-Salah ,

We (K15t) develop Scroll PDF Exporter for Confluence (available on all deployment types) and this app allows you to have control over the output of your PDF exports. This includes being able to add the information you have requested (ie. Page ID, date of export etc) through the use of placeholders in an export template that you can create to define the styling you require.

If you're interested you can learn more about the app here - https://youtu.be/42T0HcKg_V8

Many thanks,

Thomas (K15t)

0 votes
Pankaj Jangid
Community Champion
March 10, 2023

Yes, it is possible to create a PDF template with the information you mentioned in Confluence Cloud, Data Center, and Server.

To achieve this, you can create a custom PDF export template using the built-in Confluence PDF Layout Editor. Here are the steps to create the template:

  1. Go to Confluence Administration and navigate to PDF Layouts under the Configuration section.

  2. Click on the "Create new PDF Layout" button.

  3. Choose the "Blank" option to create a new template from scratch.

  4. Use the editor to design your template, adding any required placeholders for the user name, date of export, page ID, and page version.

  5. To insert the placeholders, click on the "Insert Placeholder" button in the editor's toolbar and choose the appropriate option (e.g., "User Name" for the user name).

  6. Once you have designed the template to your liking, save it and set it as the default PDF export layout.

Now, when users export a page to PDF, the template you created will be used and will include the placeholders for the user name, date of export, page ID, and page version.

Note that this method does not require the use of page properties, but it does require users to export pages using the "Export to PDF" option, rather than printing to PDF from their browser.

Simon Powell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 19, 2023

Does this only work for full Space exports, or can it be used for individual page PDFs too, the ones generated by using ... > Export > Export to PDF?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events