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

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
AUG Leaders

Atlassian Community Events