Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Is it possible to convert AEM 6 form into PDF?

bhaarats4680380
Level 2
Level 2

I have a requirement to create a form, let users fill it out, and then email it to the user as a PDF. 

I am using AEM 6 and can create the form easily mimicking the Geometrixx Gov sample forms. But how can I save the collected data into PDF? In the submit action, I only see these options:

Submit to REST endpoint
Store content action
Email action
Submit to Forms workflow

1 Accepted Solution
smacdonald2008
Correct answer by
Level 10
Level 10

If you have AEM with Adobe LiveCycle ES - you could pass the data to LC ES to create a PDF document.  Here is an artilce showing that use case: 

https://helpx.adobe.com/experience-manager/using/integrating-livecycle-cq-applications.html

Without LC - to create a PDF that captures the submitted data - you can build a custom solution.

First - post the AEM 6 form data to a custom OSGi service. See this community article to learn how to do that:

https://helpx.adobe.com/experience-manager/using/posting-aem-6-form-data.html

Then build a custom AEM PDF service. You can do that using a PDF lib like PDFBOX:

https://helpx.adobe.com/experience-manager/using/creating-custom-experience-manager-pdf.html

View solution in original post

2 Replies
smacdonald2008
Correct answer by
Level 10
Level 10

If you have AEM with Adobe LiveCycle ES - you could pass the data to LC ES to create a PDF document.  Here is an artilce showing that use case: 

https://helpx.adobe.com/experience-manager/using/integrating-livecycle-cq-applications.html

Without LC - to create a PDF that captures the submitted data - you can build a custom solution.

First - post the AEM 6 form data to a custom OSGi service. See this community article to learn how to do that:

https://helpx.adobe.com/experience-manager/using/posting-aem-6-form-data.html

Then build a custom AEM PDF service. You can do that using a PDF lib like PDFBOX:

https://helpx.adobe.com/experience-manager/using/creating-custom-experience-manager-pdf.html

View solution in original post