Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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/
Do you maybe have a list with possible user macros ?
Best regards and thank you
Hello @Sana_Iqbal ,
The page ID is taken directly from Confluence and cannot be modified unfortunately.
Matteo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Matteo Gubellini _SoftComply_
I hope this message finds you well. I am reaching out regarding the use of SoftComply Toolbox. Is it possible to add a custom format to the page ID? For instance, we would like to incorporate a page ID such as 'KSA-101,' where 'KSA' represents our page category.
If this is achievable, could you please inform me of the steps involved? Alternatively, if there is another solution available, I would greatly appreciate your guidance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just create a new User Macro with the following code:
## @noparams
$content.Id
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, ok, this was for cloud. Let me check if we have a custom macro for it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a possibility to do this native with confluence ? Server doesnt support any new apps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Matteo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Matteo
could you share it with me too please
thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ed,
I put together a simple macro to embed it into the page itself. I can share it with you.
Matteo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.