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

Issue with Page Tree Macro

We are using Page Tree macro in our Space to display the TOC. We want to use the @self in the Root Page parameter, but it does not seem to recognize the @self as valid input.

We also tried with using page name in the Root Page parameter. Although, it displays the expected pages in the TOC in Preview section, but, when we save the page, the TOC is not getting generated. 

Referred to the following help link:

Please help.

Attached are a few screenshots.

page name step 1.jpgpage name step 2.jpgpage name step3.jpgself screen shot.jpg


1 answer

Hi @SUMMIT - Have you tried using @self, ignoring the error and saving the macro and page?  I have seen that macro complain about @self in the macro dialog but still work as expected.

Hello Michael,


Yes, we did. It displays a blank TOC.

self 2.jpg

This may be an index problem.  You may want to reindex Confluence to see if it resolves the issue.  Otherwise the next step would be contacting Atlassian support.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

333 views 9 7
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you