how to edit export as excel to save file to server side certain directory?

Hi,

I would like to add the function in export as excel jasperserver 5.2 to save the file into server side.

please advise and give some pointer.

 

thank you

jasper-2013's picture
Joined: Apr 12 2010 - 9:37pm
Last seen: 5 months 2 hours ago

1 Answer:

To do that you will need to either modify the exporter flow or probably more "upgrade resistant" add a flow that uses the standard JRS REST API (reportExecution) and save the stream wherever you need it.

Also the Scheduler API has an option to output to FTP option that might be helpful see section 3.8 of the Jasper Server Web Services Guide 

 

marianol's picture
15734
Joined: Sep 13 2011 - 8:04am
Last seen: 4 years 5 months ago

thanks, i edited the abstractclass to copy the outputstream to file

jasper-2013 - 9 years 7 months ago
Feedback
randomness