Confluence: Page Tree Macro for another space


I want to use the Page Tree Macro in one space to list the pages in another space. Unfortunately, even though I specify the space I want to use, the macro doesn't recognize the page I want for the top level.

In the images, you can see that I've specified the Root Page and the Restrict to this Space Key.

  • For Root Page: I started typing and the page I was looking up displayed in the list, so I selected it.
  • For Restrict to this Space Key: I entered the name and the Space Key displayed as it should and I selected it.

Yet, I get an error message. Does anyone know how I can get this to work?

page tree.PNG




3 answers

1 accepted

0 votes
Accepted answer

Turns out the solution to my problem is to use the Children Display macro instead of using either Table of Contents macros.

1 vote
Davin Studer Community Champion Apr 02, 2015

Remove the 80: from the beginning of the Root Page and then set the space key. Not sure why it puts the space key in the Root Page field when it has a field for the space. Probably a bug.

It's moving in the right direction, but it still doesn't work. I removed the '80:'

In Preview mode, the tree displays.


But after saving the layout, the Loading wheel begins and doesn't resolve.

I removed the Expand All option, hoping that making the macro as simple as possible would fix it without effect. I also tried both macro versions of the page tree. Neither work.


Any other suggestions? It's so close to working. I'm on 5.6.1. Could it be a bug in that version?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,437 views 110 8
Join discussion

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