Expand my Community achievements bar.

SOLVED

Assistance Needed for HTML5 Form Submission and DoR Generation

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@nileshpb 

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.

 

[0] - https://docs.mktossl.com/docs/experience-manager-learn/forms/html5-forms/handle-html5-form-submissio... 

 

View solution in original post

4 Replies

Avatar

Correct answer by
Employee Advisor

@nileshpb 

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.

 

[0] - https://docs.mktossl.com/docs/experience-manager-learn/forms/html5-forms/handle-html5-form-submissio... 

 

Avatar

Level 2

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>

Avatar

Employee Advisor

The custom bundle is in the article

deploy that bundle