Show a roll up table of data from tables on children pages

 

Here's the scenario:

  • 1 to many child pages for a growing number of projects.  Each child page has a table with these columns: project name, date, status
  • parent page that will display each child page's column data. The parent page has the same columns: project name, date, status
  • Since the number of rows on the parent page is unknown(more projects keep getting added), I need to key off of the project name and pull the updated values of date and status from the child pages.

Excerpt macros dont seem to be able to capture the row from the child page,only one value from one cell.  I'm trying to use the Table Plus macro but not having much luck there.  Any suggestions?  Any examples?

2 answers

1 accepted

0 votes
Answer accepted

Hello Jodi,

Page Properties + Page Properties Report macro should solve your problem.

Another approach besides Page Properties Macro and Page Properties Report Macro would be a macro that merges tables from other pages. 

Inside this table merger macro you could use the Excerpt Macro and Excerpt Include Macro to bring one piece of text (that is: the whole table) per page on the parent page. For multiple transclusions from one page or multiple pages you would need a third-party macro that supports multi-excerpt (I assume that adding a new Excerpt Macro for each new page is not feasible).

I'm not sure if this solution approach meets your third point (which I do not fully understand). But here we go ...

The commercial projecddoc Toolbox (available on the Atlassian Marketplace for Confluence server) provides macros to do this:

If you have a large number of pages to transclude from and a large number of tables you need to merge you'll need to check your performance requirements since the transclusion and merging takes place at request time.

Biased Alert: I'm one of the authors of the projectdoc Toolbox.

Suggest an answer

Log in or Sign up to answer
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...

725 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