AEM Forms-Addon Creating form with multiple attachments | Community
Skip to main content
Level 5
February 21, 2024
Solved

AEM Forms-Addon Creating form with multiple attachments

  • February 21, 2024
  • 2 replies
  • 851 views

Hi Team

 

We are working on Completely AEM Forms-Add-on .Our requirement each form users can view as pdf before submitting the newly creating adaptive form , Can we use any OOTB feature for each form preview as consolidated PDF which include attached files in the adaptive form .

 

Example : Adaptive form attached person photo and resume we need generate consolidated pdf along with form fields with attached photo and resume as single/consolidate pdf before form submitting.

 

 

Regards

Vara

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

Hi @varaande ,

 

Could you confirm the AEM version, and whether you are using core components based Adaptive Forms.

 

Is you are using Core components based Adaptive Forms, you can use the generateDoR API defined at: https://developer.adobe.com/experience-cloud/experience-manager-apis/api/stable/forms/ to generate the PDF for the form data, and display it to the end-user for review before the submission.

2 replies

sudhansh
Adobe Employee
sudhanshAdobe EmployeeAccepted solution
Adobe Employee
February 21, 2024

Hi @varaande ,

 

Could you confirm the AEM version, and whether you are using core components based Adaptive Forms.

 

Is you are using Core components based Adaptive Forms, you can use the generateDoR API defined at: https://developer.adobe.com/experience-cloud/experience-manager-apis/api/stable/forms/ to generate the PDF for the form data, and display it to the end-user for review before the submission.

varaandeAuthor
Level 5
February 28, 2024

Hi Sudhansh

 

Currently we are using the AEM 6.5.19(on-premises)  with corresponding AEM OSGi-Forms add-on package using Adaptive form Component which are AEM Forms-Addon (i believe not AEM forms Core components )

 

Challenge we are facing excel files attached  in the adaptive form which having multiple sheets ,To generating consolidated pdf is challenging for us with client expected performance/response time  .

 

 

 

 

 

sudhansh
Adobe Employee
Adobe Employee
February 28, 2024

If you are on Windows - you can use PDF Generator to convert all sheets in an Excel: https://experienceleague.adobe.com/docs/experience-manager-65/content/forms/administrator-help/work-with-pdf-generator/configuring-file-type-settings.html?lang=en#microsoft-excel-settings-windows-only

 

and then using Assembler stitch the PDFs together.

Adobe Employee
February 21, 2024

You will have to write custom code to assemble the pdf files and show the pdf using a custom component 

the custom component to display the pdf is documented