AEM 6.5 OSGi on premise - Generate Interactive PDF instead of flat PDF | Community
Skip to main content
Level 5
January 10, 2022
Question

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

  • January 10, 2022
  • 0 replies
  • 613 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.