Get your own customer support community
 

How to Report data on children on their children pages?

Hello,

I already have Reporting plugin working, however I need a bit different solution.

What we have:

Each user has own tasks page. For each task, we need to create a report (as children page). My task and report pages are based on scaffold plugin.

In my report template, there is a check list, which contains 3 options -- Completed, Partially Completed, Not completed. What I have to do is to count how many completed, partially completed and not completed tasks each user has.

Basically, the structure is:


Joe Black Tasks --> My task 1 --> My Report 1
Joe Black Tasks --> My task 2 --> My Report 2
Joe Black Tasks --> My task 3 --> My Report 3


My solution works if I put my reporting code on "Joe Black Tasks" and all reports are children on this page. However, each report is children to its task page.

I need to put my code on "Joe Black Tasks" page and gather data from My Report X pages.

What I have is:


|| Completed Tasks | {report-block}
{local-reporter:children}
{text-filter:data:TaskStatus|include=COMPLETED}
{local-reporter}
{report-body}{report-body}
{report-footer}{report-info:report:item number}{report-footer}
{report-block} |
|| Partially Completed | {report-block}
{local-reporter:children}
{text-filter:data:TaskStatus|include=PARTIALLY COMPLETED}
{local-reporter}
{report-body}{report-body}
{report-footer}{report-info:report:item number}{report-footer}
{report-block} |
|| Not Completed | {report-block}
{local-reporter:children}
{text-filter:data:TaskStatus|include=NOT COMPLETED}
{local-reporter}
{report-body}{report-body}
{report-footer}{report-info:report:item number}{report-footer}
{report-block}|


I tried to use space-reporter:space=@self, but it didn't work.

What could you advice?
 
sad I’m confused
Inappropriate?
1 person has this question

User_default_medium