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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • 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

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 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...

480 views 24 9
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