How to report table-data from children pages?

Hello, I'm a beginner at confluence and want to ask may be a simple question.

I have a page with children pages. Every single children page is created with help of scaffolding plugin and has some text-data and table data.

Children Page:

{text-data:Name}{text-data}

{text-data:SystemName}{text-data}

{table-data:Structure|initialRows=2}

|| Attribute Name || System Attribute Name || Data Type ||

| {text-data:AttributeName}{text-data} | {text-data:SystemAttributeName}{text-data} | {list-data:Datatype|blank=true|type=select|multiple=false}

{list-option}varchar2{list-option}

{list-option}char{list-option}

{list-option}number{list-option}

{list-option}date{list-option}

{list-data}{align}|

I need to make a report table on parent page. Report table must have columns text-data1|text-data2| table-data, each row corresponds each children page. I have problem with reporting table-data. Any ideas?

Thank you!

2 answers

Dear @Daria Makeeva,

I hope this answer finds you well. I had to take a few liberties with finding a solution, and with just a bit of adjustment I came up with something viable. You can tweak and adjust as you need.

 

Parent Page
{report-table}
{expanding-reporter|data:structure|as=exr}
{content-reporter|spaces=@self}{content-reporter}
{expanding-reporter}
{report-column|title=Page Title}
{report-info|expanded:item > page:title}{report-info}
{report-column}
{report-column|title=Name}
{report-info|expanded:exr > data:dataname}{report-info}
{report-column}
{report-column|title=System Name}
{report-info|expanded:exr > data:systemname}{report-info}
{report-column}
{report-column|title=Attribute Name}
{report-info|expanded:exr > data:attributename}{report-info}
{report-column}
{report-column|title=System Attribute Name}
{report-info|expanded:exr > data:systemattributename}{report-info}
{report-column}
{report-column|title=Data Type}
{report-info|expanded:exr > data:datatype}{report-info}
{report-column}
{report-table}
 

Child Pages
||Name||System Name|| Attribute Name || System Attribute Name || Data Type ||
| {text-data:dataname}{text-data} | {text-data:systemname}{text-data} | {text-data:attributename}{text-data} | {text-data:systemattributename}{text-data} | {list-data:datatype|blank=true|type=select|multiple=false}
{list-option}varchar2{list-option}
{list-option}char{list-option}
{list-option}number{list-option}
{list-option}date{list-option}
{list-data}|

Dear @John Paz

thanks a lot for your answear, but it's not what I want, because in child page I really have structure like this

||Name||System Name|| Table date

and Table date has srtucture =  Attribute Name || System Attribute Name || Data Type

I find a solution to report table as a collection (refer every cell of table as element of collection), but I think it's not good idea


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

374 views 20 10
Join discussion

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