Confluence: Page Tree Macro for another space

Hello,

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.
    page.png
  • For Restrict to this Space Key: I entered the name and the Space Key displayed as it should and I selected it.
    space.png 

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

page tree.PNG

 

Thanks,

Rosemary

3 answers

1 accepted

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.

PgTreePreview.jpg

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.

Result.jpg

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

682 views 21 12
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