#1 2015-10-01 13:00:29

hlynch
Member
Registered: 2014-10-08

Excel report

We are doing several jasper reports that output plain excel reports.
Is it possible to specify what the output file name will be?

Offline

#2 2015-10-01 15:44:44

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: Excel report

Hi,

I am afraid, I don't have a good idea how to do this. The download name is set to the report's name plus the correct file extension and there is currently no mechanism in place to easily change that. With some scripting you may however be able to get this done. One possibility is to implement

net.datenwerke.rs.core.server.reportexport.hooks.ReportExportAdjustHttpHeaderHook 

which allows you to override the header information send to the browser.

I hope this helps.

Cheers,
Arno

Offline

#3 2015-10-02 14:23:42

hlynch
Member
Registered: 2014-10-08

Re: Excel report

Thank you, I will try that.

Offline

Board footer

Powered by FluxBB