Jump to content
We've recently updated our Privacy Statement, available here ×

csv export directly from jasperserver without running the report


sinsand

Recommended Posts

HI,

we have a requirement that from jasperserver we direclty need to export the csv or excel without running the report in jasperserver and then to export in csv and excel format.

Currently the Jasperserver is embedded in iframe and from there we are generating the report. The client reqiurement is that without using the Iframe we need to connect to the Jasperserver and get the reports in csv or excel report.

Is that possible using JasperServer and if it is Please suggest how it can be achived?

Thanks,

Sandeep

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hi,
I have a very simple method. 
embedd an image/text field in the report (it may say "export"), give it hyperlink to the report you want to export in either csv or xls as ReportExecution and Parent. While linking parameters, pass a parameter name as "output" and expression as "xlsNoPag" or "csv" as required.

Refer the image below.

Capture(49).PNG.7163100fd847df8744c7889c9d15ce5f.PNG

You can have two images/text fields saying "Export to CSV" and "Export to XLS".


This should help,
Regards,
KKriplani

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...