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

Dynamic variable for all labels currently applied to a page

Dominic Oliaro September 2, 2020

When one uses the "How-To Article" template, it solicits labels before creating the page, and then uses those labels to populate the included "Content By Label" macro, providing "Related Articles" at the bottom of the template. However, the labels in the "Content By Label" macro do not change when labels are subsequently added or removed from the parent page.

Is there a way in which the "Content By Label" macro would use the labels currently applied to a page and subsequently update the list of "Related Articles". Or some way to update the related articles based on the current, not initial, labels?

1 answer

1 accepted

0 votes
Answer accepted
Parvaneh Zand
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.
September 3, 2020

Hi @Dominic Oliaro

It cannot be done automatically! Once you choose a label and set it up in the macro browser, you'll see a list of pages that have the selected label, whether the parent page is labeled or not!

So whenever you need to change the result or add more labels, you should edit the parent page, edit the macro, and change the labels.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events