I’m testing the latest Jasper Plugin.
First I noticed that the methodname was changed from
plugins.jasperPluginRMI.jasperReport to plugins.jasperPluginRMI.runReport
But that I can still handle. In the sample coding is written the following:
/* To generate the report in the specified output format and save the result to ‘myReport.html’ in the root of the c-drive:
- Supported output formats are: html, pdf, excel( or xls), xls_1_sheet (1 page per sheet), rtf, txt, csv, odt, jrprint and xml
- Note: in the WebClient, the file will be saved serverside, so the specified path needs to be valid serverside
*/
//plugins.jasperPluginRMI.runReport(forms.customers.controller.getServerName(),‘myCustomerReport.jasper’,‘c:/myReport.html’,‘html’,{pcustomerid: forms.customers.customer_id});
So I try to create a report and write the output directly in XLS format on my local disc (C:\ root), like the above example.
But I see that the output is written to the C:\ root directory on the server even when running Smart Client.
Is that a bug?