Jump to content

Flash reports


mzukowski

Recommended Posts

The JasperServer 3.0 release notes mention that there is now support for generating reports in flash format. How do I go about generating a flash report? Is it as simple as making a SOAP request with the REPORT_FORMAT set to "SWF"? There is no mention of this in the web services API manual.

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

mzukowski
Wrote:

Thank you, but is there any way to request the report in Flash format using the web services API (since you can already request it in other formats -- PDF, CSV, etc.)

There is no (direct) support for this at the moment.

The current Flash export is implemented as a Flash report viewer that receives the report in XML format (from a servlet or from a local file), parses it and renders the report.  We don't embed the report into a SWF file, so it's not possible to receive a self-contained report Flash export file.

What one could do is to request an XML export via web services, and use the Flash report viewer to display it at the client side.

Regards,

Lucian

Link to comment
Share on other sites

If anyone is interested, I posted a quick tutorial on how to get Flash reports from JasperServer under Ruby on Rails.

The tutorial is here: http://github.com/gunark/jasperserver-client/wikis/railsusageexamples

To make this work, you'll need the jasperserver-client RubyGem. Info on installing it is here: http://github.com/gunark/jasperserver-client/wikis/home

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...