Report and dasdhboard viewlets
Hi,
I now have a shiny new report that I would like made available via a viewlet on the dashboard. I can't seem to find anything obvious that tells me how to go about this? There doesn't appear to be a "generic report" viewlet.
Do I have to write a custom viewlet for this? If so, any pointers to the method?
Cheers,
Michael Baylis
I now have a shiny new report that I would like made available via a viewlet on the dashboard. I can't seem to find anything obvious that tells me how to go about this? There doesn't appear to be a "generic report" viewlet.
Do I have to write a custom viewlet for this? If so, any pointers to the method?
Cheers,
Michael Baylis
4 answers
Hi Michael,
Currently, there is no easy way to plug in a user-defined BIRT report into one of the existing Dashboard trend report viewlets. These viewlets are configured to use custom REST services defined by the Reports team that encapsulate the underlying BIRT reporting engine.
In the next Jazz release, the Dashboard team is planning to make a generic trend report viewlet that allows developers to plug-in new trend reports (rptdesign files) via contributed plug-in manifest XML mark-up without specifying code (JavaScript).
For the 1.0 release, follow these steps to add your new BIRT report to the Dashboard:
(1) Create and deploy a new report:
=> https://jazz.net/wiki/bin/view/Main/ReportsCreatingANewReport
(2) Write a custom viewlet
=> Extend the following viewlet:
com.ibm.team.dashboard.viewlets.web.ui.internal.TrendReportViewlet
=> See the following viewlet as an example:
com.ibm.team.dashboard.viewlets.web.ui.internal.TrendReportScrumViewlet
=> Important Note: Code extending Dashboard related JavaScript will likely be broken
in the next Jazz release as none of it is intended to be API
Thanks,
Mike
Currently, there is no easy way to plug in a user-defined BIRT report into one of the existing Dashboard trend report viewlets. These viewlets are configured to use custom REST services defined by the Reports team that encapsulate the underlying BIRT reporting engine.
In the next Jazz release, the Dashboard team is planning to make a generic trend report viewlet that allows developers to plug-in new trend reports (rptdesign files) via contributed plug-in manifest XML mark-up without specifying code (JavaScript).
For the 1.0 release, follow these steps to add your new BIRT report to the Dashboard:
(1) Create and deploy a new report:
=> https://jazz.net/wiki/bin/view/Main/ReportsCreatingANewReport
(2) Write a custom viewlet
=> Extend the following viewlet:
com.ibm.team.dashboard.viewlets.web.ui.internal.TrendReportViewlet
=> See the following viewlet as an example:
com.ibm.team.dashboard.viewlets.web.ui.internal.TrendReportScrumViewlet
=> Important Note: Code extending Dashboard related JavaScript will likely be broken
in the next Jazz release as none of it is intended to be API
Thanks,
Mike
Unfortunately, the work is targeted for the RTC 2.0 release.
Due to the major overhaul required for this type of enhancement, it didn't qualify for the 1.0.1 point release.
Please feel free to subscribe yourself to the following work item to track progress and add any insight / requirements:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/51103
Due to the major overhaul required for this type of enhancement, it didn't qualify for the 1.0.1 point release.
Please feel free to subscribe yourself to the following work item to track progress and add any insight / requirements:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/51103