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

Comment

Log in or Sign up to comment
Community showcase
Published yesterday in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

101 views 1 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you