It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to display Page ID in footer of page


I would like to insert a user macro to allow the page ID to be displayed on the footer of the page. 

I know very little about writing a macro, so if anyone can assist it would be appreciated.




1 answer

0 votes
Thomas Schlegel Community Leader Oct 06, 2017

Hi Michelle,

there was a similar question I answered not long ago. Please hava a look here:

When you have created your macro, you are able to put it with the space tools to the footer: http://<your confluence-url>/spaces/custompagecontent.action?key=<your spacekey>

If you have any further questions, don't hesitate to ask!

Hi Thomas,

Thanks for your help. I created the Page ID macro as so:

## Macro title: getpageid
## Macro has a body: N

## @noparams


I added it as a user macro.



I am having trouble having it displayed correctly in the footer.

I went to the space I want the page ID displayed. I went to the space tools, then footer, but not sure exactly what I am supposed to insert into the footer box.

-I tried inserting the macro itself

- I tried inserting Marco name "PageID"

Whatever , I insert into the footer, that is what is displayed, not the Page ID.

Can you tell me what I am doing wrong? I would like for every page of a specific space to have the page ID footer.



Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 18, 2019 in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

361 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you