Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
I am rendering an XDP template form as interactive HTML form in the browser. The user fills in the form and the data is sent to the server as xml data.
Currently the Output Service is used to generate a flat PDF and saved in the filesystem using the code below:
pdfOptions.setLinearizedPDF(true);com.adobe.aemfd.docmanager.Document generatedPDF = outputService.generatePDFOutput(xdpTemplate, xmlDataDoc, pdfOptions);
How can I rewrite this code to generate an interactive PDF instead of a flat PDF?