Skip to main content



      Home
Home » Archived » BIRT » Use cached birt reports in custom dashboard
Use cached birt reports in custom dashboard [message #1050922] Sat, 27 April 2013 20:40 Go to next message
Eclipse UserFriend
Hi,

i have made my own custom dashboard (with jsp) and with WebViewerExample.

On the dashboard i show different birt reports (charts) within different iframes. I cache the reports (by using frameset servlet and rptdocument), as they dont change for around 24 hours.

This is what i do:

1-call the frameset servlet with __document param to create the rptdocument:
frameset?
__toolbar=false&__navigationbar=false&__document=myreport1.rptdocument&__report=myreport1.rptdesign
2-whenever my dashboard is called the report is now cached from myreport1.rptdocument

But what i have experienced is that the frameset-servlet is very slow (uses 3-6 seconds to show the result).
If i use the preview-servlet with the __document parameter it shows it under a second. A lot quicker.

This is what i want:

1-check if rptdocument for dashboard-report does exist.

1.1 if rptdocument not exists call frameset servlet:
frameset__toolbar=false&__navigationbar=false&__document=myreport1.rptdocument&__report=myreport1.rptdesign


1.2 if rptdocument exists call preview servlet:
preview?__document=myreport1.rptdocument


But the problem is that the preview-servlet does not generate a rptdocument, it can only show a report. Is there a smart way that i in my dashboard
check if a rptdocument exists, if not call the frameset servlet to generete the rptdocument. And the next time always call the preview-servlet ?


[Updated on: Sat, 27 April 2013 20:43] by Moderator

Re: Use cached birt reports in custom dashboard [message #1053868 is a reply to message #1050922] Tue, 07 May 2013 22:38 Go to previous message
Eclipse UserFriend
It would seem that you could easily check the location to determine whether you have a rptdocument or not. Have you solved this issue?
Previous Topic:BIRT with Ruby on Rails
Next Topic:Invalid bound column name
Goto Forum:
  


Current Time: Sat Apr 26 04:38:00 EDT 2025

Powered by FUDForum. Page generated in 0.03410 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top