Home
Analytics
Running a report from dashboard error
aglass
Hi,
I have built a BIRT report that works perfectly when run in BIRT and I have added this to the dashboard program so that the user can select it. The user clicks on the hyperlink on the dashboard and their current location is passed to the report to fill in 3 parameters (LocationName, PeriodName and ParentMeasureName) and then they select 4 further parameters (MeasureName) as one for each chart.
The report is built with all elements in the report included in one grid and we have a page break after the first row of the grid(which has the table in it). When run in BIRT the report runs correctly with all pages (Page 1 - Table, Page 2 - Charts, Page 3 - Charts) However as soon as we add to the dashboard only the first page appears in the output with the table in it, I.e. up until the first page break in the report. When we took this out the report ran completely showing all tables and charts. However we need the page break to have the table on the first page and then the charts afterwards.
Does anyone have any idea why this might be the case?
Thanks in advance
Tony
Find more posts tagged with
Comments
mwilliams
Hi Tony,
So, when you include a forced page break, only the table shows up, none of the rest? And if you don't, all of the report shows? And this is only when included in the dashboard? From the designer, it works as expected? What format do you view the report in when you click on it in the dashboard?
aglass
Hi Michael,
Yes that is correct. I use pdf format for both the designer and the dashboard.
Regards,
Tony
averma
Hi Tony,
Are you using BIRT 360 and displaying PDF in a gadget?
Ashwini
aglass
Hi averma,
No we are using BIRT version 3.4.2 and just linked in the dashboard through the dashboard application.
Regards,
Tony
averma
Which dashboard application is this? What api's are you using to present BIRT report in the dashboard?
aglass
Hi,
It's the mashboard application that we downloaded from the Actuate website. Not sure on the version as didn't know there was more than one.
dmelcher
Hi Tony,
It's not common to display PDF in dashboard portlet. Can you please try __format=html instead to see if the pagination is corrected?
If this is not satisfactory, can you reply with the xml code you are using to configure your portlet?
Thanks,
Dan
aglass
Hi demelcher,
We are not displaying the pdf format in the portlet. The users click on a link and the pdf format file opens into adobe reader. we have this working for another report that has a link on the dashboard which also has page breaks in it but this report doesn't seem to work.
dmelcher
Okay. That makes sense. Does the PDF pagination problem exist when you execute the report to PDF from Info Console or Mgt Console? Or does it only happen when executing from your dashboard link?
Dan
aglass
When we run direct from BIRT (Ie run report, management console, etc) it runs fine. But when we add to the dashboard thats when the error occurs.
dmelcher
What does your dashboard link look like? I'll try to duplicate it here.
Dan