Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

AEM 6.5 OSGi on premise - Generate Interactive PDF instead of flat PDF

Avatar

Level 6

Hi Everyone,

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?

Thanks,

Leena

0 Replies