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

Hiding a section if there are no children to a page Edited

I have a macro to display all children of a page as a list of links.

I'd like NOT to display that list of links (or its title) if there are no children to the current page.

I thought the "show-if" macro and the "scope" parameter would do this, but I can't make it work.

What should I be using, or what is the correct syntax please?

1 answer

@Graham_Foster Confluence does not seem to have information on setting the Scope parameter for the ShowIf Macro.

There is a related question here: https://community.atlassian.com/t5/Confluence-questions/Incoming-Links-macro-how-to-set-the-scope-parameter/qaq-p/297196

Thx - seems that the scope parameter isn't properly documented.

I'm not even sure if this is the way to solve my problem - which is how to hide a section if the current page has no children.

What is your use case for wanting to hide the page?

Suggest an answer

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

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

67 views 3 5
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