I have a set of pages that each use the same scaffold. One data element in the scaffold is a number that is calculated using eval-data. This number represents the estimated number of hours to complete a project. It is calculated by adding up the estimates for each task in the project. The tasks are listed in the scaffold, along with a time estimate.
I am using the reporting plugin on a different page (summary page) in order to create a summary table. This table should list the name of each project (link) and the estimated number of hours to complete the project.
I am unable to report on any data on the summary page that was created using the eval-data macro.
I can report on number-data (e.g. TestNumber), but not eval-data (e.g. SumHrsRemaining0 or TestNumDivTwo).
Scaffold code (each project page is a child of a page called Plans; the summary page is also a child of Plans):
{group-data:ProjectTimeline}
Description
{excerpt-data:Description|type=area|width=500px|height=50px}Provide a description of this project.{excerpt-data}
{table-data:SCRUMSprintBacklog}
|| Task Description || Responsible || Status || Due Date || Hrs Remaining 1/21 || Hrs Remaining 1/28 || Hrs Remaining 2/4 || Hrs Remaining 2/11 || Hrs Remaining 2/18 || Hrs Remaining 2/25 ||
| {text-data:name=Task|type=area}
| {text-data:name=Responsible}
| {list-data:Status}
{list-option}Not Started{list-option}
{list-option}In Progress{list-option}
{list-option}Completed{list-option}{list-data}
| {date-data:Due Date|format=MM.dd.yyyy}
| {number-data:name=HrsRemaining0}
| {number-data:name=HrsRemaining1}
| {number-data:name=HrsRemaining2}
| {number-data:name=HrsRemaining3}
| {number-data:name=HrsRemaining4}
| {number-data:name=HrsRemaining5}
|{table-data}
Initial estimate, total number of hours =
{eval-data:SumHrsRemaining0}sumtable("SCRUMSprintBacklog", "HrsRemaining0"){eval-data}
Test Number: {number-data:TestNumber|decimal=true}
Test Number / 2 = {eval-data:TestNumDivTwo}round(${TestNumber}/2,0){eval-data}{group-data}
Report code, on a separate summary page:
(I can report on number-data (e.g. TestNumber), but not eval-data (e.g. SumHrsRemaining0 or TestNumDivTwo). Nothing shows up in the table for SumHrsRemaining0 or TestNumDivTwo).
{report-table}
{local-reporter:content:children|source=Plans}
{text-sort:content:title}{local-reporter}
{report-column:title=Project}
{report-info:content:title|link=true}{report-column}
{report-column:title=Total Hrs, Est.}
{report-info:data:ProjectTimeline.SumHrsRemaining0|format=##,##0.0}{report-column}
{report-column:title=Test Data}
{report-info:data:ProjectTimeline.TestNumber}{report-column}
{report-column:title=Test Data/2}
{report-info:data:ProjectTimeline.TestNumDivTwo|format=##,##0.0}{report-column}
{report-empty}
There are currently no features available.{report-empty}{report-table}