I'd like to capture on the server side the PDF requested from the client, to later be attached to an email.
Right now I have a method on the client that is generating PDF of my content:
Instead of downloading to the client, I'd like the generated PDF made available on the server in memory (preferable), or on the server filesystem.
Is this possible? If so, how would I go about this? I've tried calling requestProperties.setExportToFilesystem(true) with no luck.
I'm currently using: SmartClient Version: SC_SNAPSHOT-2012-03-20_v8.2p/Enterprise Deployment (built 2012-03-20)
Thanks!
Chris
Right now I have a method on the client that is generating PDF of my content:
Code:
DSRequest requestProperties = new DSRequest(); requestProperties.setExportFilename("flightplan"); requestProperties.setExportDisplay(ExportDisplay.DOWNLOAD); requestProperties.setContentType("application/pdf"); requestProperties.setDownloadResult(true); RPCManager.exportContent(content, requestProperties);
Is this possible? If so, how would I go about this? I've tried calling requestProperties.setExportToFilesystem(true) with no luck.
I'm currently using: SmartClient Version: SC_SNAPSHOT-2012-03-20_v8.2p/Enterprise Deployment (built 2012-03-20)
Thanks!
Chris
Comment