Passing parameters from viewlet to report (RTC 1.0.1.1)
Hi,
I'm working with RTC 1.0.1.1
Currenty using the Work Items Trend Report viewlet to run a Birt custom report.
The report has 3 parameters: "ProjectAreaName", "TeamAreaName" and "WIType". Common paramenters (no param group, just individual parameters). The report works fine on the birt designer and running it as report in the project area.
Is there any way to pass parameters when using this viewlet type? I noticed that mementos are only valid for 3 specific viewlet types (Work Item Queries, Bookmarks, and HTML), where Work Items Trend Report is not included.
Ideas? Thanks!
Claudia
I'm working with RTC 1.0.1.1
Currenty using the Work Items Trend Report viewlet to run a Birt custom report.
The report has 3 parameters: "ProjectAreaName", "TeamAreaName" and "WIType". Common paramenters (no param group, just individual parameters). The report works fine on the birt designer and running it as report in the project area.
Is there any way to pass parameters when using this viewlet type? I noticed that mementos are only valid for 3 specific viewlet types (Work Item Queries, Bookmarks, and HTML), where Work Items Trend Report is not included.
Ideas? Thanks!
Claudia
One answer
Hi Claudia,
In 1.0.1.1, all of the trend report viewlets involved custom viewlet
code. This custom code "knew" about all of the parameters for a given
report, as well as hardcoding the ID to find the report. As a result,
this isn't customizable - only the reports we ship out of the box are
usable as dashboard viewlets.
In 2.0 the situation is slightly more flexible, and it's possible to
contribute custom reports as viewlets by deploying some code on the
server. See this wiki page for more details:
https://jazz.net/wiki/bin/view/Main/HowToAddNewDashboardTrendReportsRTC20
Hope this helps.
james
RTC Reports Team Lead
On 8/5/2009 7:37 PM, ccalleg wrote:
In 1.0.1.1, all of the trend report viewlets involved custom viewlet
code. This custom code "knew" about all of the parameters for a given
report, as well as hardcoding the ID to find the report. As a result,
this isn't customizable - only the reports we ship out of the box are
usable as dashboard viewlets.
In 2.0 the situation is slightly more flexible, and it's possible to
contribute custom reports as viewlets by deploying some code on the
server. See this wiki page for more details:
https://jazz.net/wiki/bin/view/Main/HowToAddNewDashboardTrendReportsRTC20
Hope this helps.
james
RTC Reports Team Lead
On 8/5/2009 7:37 PM, ccalleg wrote:
Hi,
I'm working with RTC 1.0.1.1
Currenty using the Work Items Trend Report viewlet to run a Birt
custom report.
The report has 3 parameters: "ProjectAreaName",
"TeamAreaName" and "WIType". Common paramenters
(no param group, just individual parameters). The report works fine
on the birt designer and running it as report in the project area.
Is there any way to pass parameters when using this viewlet type? I
noticed that mementos are only valid for 3 specific viewlet types
(Work Item Queries, Bookmarks, and HTML), where Work Items Trend
Report is not included.
Ideas? Thanks!
Claudia