Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

hide block if page has child

Cedrick GAILLARD April 8, 2015

Hello,

I'm trying to hide a button in a page if there is at least a child page.

I tried the following without any success

{builder-hide:exists=@children}

stuff to hide

{builder-hide}

 

Please can you point me where i am wrong?

thanks for help

PS: It is confluence 5.6.3

2 answers

1 accepted

0 votes
Answer accepted
Lukas Knoch -Rumpelcoders-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2015

Hi, 

i can't test it but according to the documentation at Adaptavist

this should work:

{builder-hide:page=@child}
 
stuff to hide
 
{builder-hide}

 

 

0 votes
Cedrick GAILLARD April 8, 2015

Thanks it works.

 

Suggest an answer

Log in or Sign up to answer
TAGS
Atlassian, Team '25 Europe, Atlassian conference, AI-powered teamwork, Atlassian events, keynote speakers, Barcelona tech conference, Atlassian Williams Racing, Carlos Sainz, Jenson Button, Mike Cannon-Brookes, Anu Bharadwaj, Atlassian Rovo

Atlassian Williams Racing is coming to Team '25 Europe 🏎️

Discover the teamwork and precision behind success on and off the track. See how this high-performing team makes the impossible possible. Be one of the first 100 customers to register for a chance to win 2 tickets to an Atlassian Williams 2026 race.

Register now
AUG Leaders

Atlassian Community Events