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 1 person likes this

Comment

Log in or Sign up to comment
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,356 views 2 13
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