Hi All,
We have the following requirement for HTML5 forms:
Whenever a user fills in the entire HTML5 form and clicks the Submit button, it should generate a DoR or flatten PDF and attach it to an email. This email should be sent to a specific mailbox from a defined sender address.
Could someone please help us define the approach to develop this use case?
We are using OSGi and not JEE.
Solved! Go to Solution.
Views
Replies
Total Likes
Don't recall seeing a reference implementation for this use-case but you can submit the HTML5 forms data to a servlet [0] hosted in AEM. This data stream can be used for further processing; Email use-case can also be handled.
Don't recall seeing a reference implementation for this use-case but you can submit the HTML5 forms data to a servlet [0] hosted in AEM. This data stream can be used for further processing; Email use-case can also be handled.
this article shows you how to generate pdf on html5 form submission
After following this document Generate PDF from HTM5 Form Submission | Adobe Experience Manager (mktossl.com) , we are not able to resolve DocumentService dependency (import com.adobe.aemfd.docmanager.Document) , this is causing servlet in unsatisfied state.
We tried different versions of client-sdk but still servlet is in unsatisfied state.
<dependency>
<groupId>com.adobe.aemfd</groupId>
<artifactId>aemfd-client-sdk</artifactId>
<version>6.0.968</version>
</dependency>
The custom bundle is in the article
deploy that bundle