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 |
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 |
Brilliant, thank you Mike.
I don't mind updating the code for each release as it is only small bits! |
Is there any update for this functionality in 1.0.1? We're also looking to implement a BIRT report into a viewlet. Reading through the post it sounds like there may be a 'generic trend report viewlet' present in 1.0.1. If not, any details on implementing for 1.0.1?
Thanks |
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 |
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.