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
Solved! Go to Solution.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
iText is another handy 3rd party API available to create PDF with whatever content you need.
http://hmkcode.com/itext-html-to-pdf-using-java/
http://www.rgagnon.com/javadetails/java-html-to-pdf-using-itext.html
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies