It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Display the result of the "content by label macro" in a table

Hello,

Here is what I am after. I would like to be able to have return a list of the pages sharing the same label in different rows.

To return a list of pages sharing a label, this is easy the content by label macro is here for me.

However, my question is: Is there a way to display each page returned by this macro in a different row of a table?

E.g.:

Page1 and Page2 are both labelled with "tagA"

Is there a way to display Page1 and Page2 in a table such as:

Row | Page    |  Comment (added manually by me)

1      | Page1  |  This is my page 1

2      | Page2  |  This is my page 2

1 comment

It sounds to me like what you want is the page properties and page properties reports macros. The way it works is you put a page properties macro on your page with a table inside that has key/value pairs. Then on a report page you put a page properties report macro on that page and specify a label. The report macro will find all the pages with that label and will create a table with each page being a row and the key value pairs in the page properties macro being columns in the report. See below screenshots.

Content Page(s)prop.png

 

Report Page (edit mode)report.PNG

 

Report Page (View)view.png

Like Stephen Gilson likes this

Comment

Log in or Sign up to comment
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

111 views 3 7
Join discussion

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