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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

821 views 40 5
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