Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Problems with pdf export

$
0
0
SmartClient Version: v9.0p_2013-08-16/Pro Deployment (built 2013-08-16)

I'm having some problems exporting a Layout to PDF in a deployed environment.

All the package dependencies have been added according to the manual, and export works fine in hosted mode, but when i deploy to a local tomcat server, export just opens a new tab with the following text in a small textbox:

//isc_RPCResponseStart-->[{status:-1,data:null}]//isc_RPCResponseEnd


This is the code used to create the export.

Code:

DSRequest requestProperties = new DSRequest();
requestProperties.setExportFilename(reportTitle.replace(' ', '_'));
requestProperties.setExportDisplay(ExportDisplay.DOWNLOAD);
requestProperties.setContentType("application/pdf");
requestProperties.setDownloadResult(true);
RPCManager.exportContent(contentLayout, requestProperties);

I have looked in the tomcat logfiles, but can find no errors.

Do you have any idea what could cause this error?

Viewing all articles
Browse latest Browse all 4756

Trending Articles