Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,649
Community Members
 
Community Events
165
Community Groups

Content by Label Macro include only current site

I want to create a table on an parent page, which has all important data in it.

This data is in an exerpt macro and will show up on the parent page.

Now I want to have the name and the labels of the site shown in the parent page.

So I inserted the content by label macro, but it is showing all pages with the label and I want only the current page to show up in this macro. 

Is this somehow possible or is there a way to show only the labels from each page in the a table?

 

1 answer

1 accepted

1 vote
Answer accepted

Hi there Florian,

for the use case you are describing, I think the Page Properties Macro might be a better solution than the content by label macro. Read more here.

If you want to continue with the Content by label macro, you could define a custom creation date under the macro settings, created section. Maybe that helps you to only show your current page

Let me know if that helps.

Cheers,
Robert

Hi Robert,

Thanks for your helping comment!

You were right, the page properties macro is a better solution.

 

But I have still a question, is it possible to get the labels into the page properties macro on the child page, so it will show up on the parent page?

Cheers,
Florian

Hi Florian,

I'm not sure if this is possible on Confluence Server, at least I'm not aware of a macros that would display the labels of a page 

Unless someone else has a better solution, you could duplicate the page labels using a status element. Not sure if that helps. 

Cheers,
Robert

Hi Robert,

Unfortunally this is not what I need, but this is no problem. Enter the labels twice isn't that much more work to do.

Thank you for you help!

Cheers,

Florian 

Suggest an answer

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

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

806 views 8 21
Read article

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