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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,463,027
Community Members
 
Community Events
176
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?

 

3 answers

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 

Hi

If you add a filter to the 'Content by label'-settings using 'With title' you can type in the name of your page and see the labels attached to that particular page. (below image is in Danish..)

BR Søren

image.png

I just created an suggestion for macro 'Content by label' to limit the content to a certain parent page and not to see all labels of the complete space.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events