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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

402 views 23 8
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