Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Adding the "page ID" into a PDF export or into the related page

Hi - I know a similar question has been posted multiple times, and  I've reviewed the below resources but the do not seem to address my needs.  

In a nutshell, I've an external document which provides a crosswalk from Statements to a confluence "page ID". 

I'd like to be able to provide a PDF export with the "Page ID" either in each page itself or in the PDF export.  This way, someone can simple Control-F and find the "page ID" for a page.

I see the "title"_"page ID" is added to each html file in an export, but sending a single PDF out is preferred.

Is there a way to add the "page ID" into the page footer in the PDF export?

or

Is there a way to add the "page ID" into its respective page? 

For clarity , this "12345678" is the number I'm looking for .../pages/12345678/... to be in the pdf export.

 

Pages I reviewed:

 

https://confluence.atlassian.com/doc/export-content-to-word-pdf-html-and-xml-139475.html


https://support.atlassian.com/confluence-cloud/docs/customize-exports-to-pdf/

 

https://community.atlassian.com/t5/Confluence-questions/Adding-URL-to-Footer-for-PDF-export/qaq-p/1462723

 

1 comment

Matteo Gubellini _SoftComply_
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.
Nov 01, 2021

Hi Ed,

I put together a simple macro to embed it into the page itself. I can share it with you.

Matteo

Hey Matteo 

could you share it with me too please

thank you

Matteo Gubellini _SoftComply_
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.
Mar 06, 2023

It's a free app now with some more stuff.

Please note that there is an Atlassian bug where the inline version does not export to PDF.

SoftComply Toolbox 

Matteo

Is there a possibility to do this native with confluence ? Server doesnt support any new apps

Matteo Gubellini _SoftComply_
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.
Mar 06, 2023

Ah, ok, this was for cloud. Let me check if we have a custom macro for it.

Matteo Gubellini _SoftComply_
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.
Mar 06, 2023

Just create a new User Macro with the following code: 

## @noparams
$content.Id

 Screenshot 2023-03-06 113952.png

Thank you, but for this I need to add that macro to every single page , right ?

 

Is it not possible to create a PDF export template , that adds those values automatically to the pdf ?

Do you maybe have a list with possible user macros ?

Best regards and thank you

Matteo Gubellini _SoftComply_
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.
Mar 07, 2023

Yes you have to add it to each page.

The sky is the limit (sort of) for user macros. You can create them yourself or ask around.

Matteo

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events