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,330,834
Community Members
 
Community Events
169
Community Groups

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
Published in Confluence

Collaboratory Video Series: Confluence Your Way

Hey there, collaborators! We're continuing on with Work and Wellness with a special video series focused on team connection and collaboration, wherever and whenever.  Introducing Confluence ...

106 views 1 9
Read article

Atlassian Community Events