It's all about the answers!

Ask a question

Passing parameters from viewlet to report (RTC 1.0.1.1)


Claudia Callegari (44449871) | asked Aug 05 '09, 7:27 p.m.
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

One answer



permanent link
James Moody (3.3k24) | answered Aug 06 '09, 9:34 a.m.
JAZZ DEVELOPER
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:
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

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.