Why do we need to use Forms Designer Tool for creating AEM Forms?
In my project how to know whether to use it or not?
My understanding is that if we need to create pixel perfect PDF file in the end from AEM Forms, we use it.
Are there any other factors affecting this decision?
Is it possible to create PDF files without creating XDP files using Designer?
Appreciate your support.
Somnath, you can write a custom submit action to send DoR pdf to a rest endpoint. You can refer https://helpx.adobe.com/aem-forms/6-2/custom-submit-action-form.html for reference. Your submit action would be a hybrid of store pdf and rest submit action. For PDF generation, you need to choose option Select form template as base template to generate the Document of Record in Document of Record Template Configuration. This way you need not to provide designer created XDP, system will generate a pdf for DoR.
Thanks for your response. I see something like Submit Action to REST URL which I can configure. So that might call my custom servlet post Form submission.
As I am new to AEM Forms, so probably harping along the same lines. Unfortunately I am still not able to understand the core steps on how to use a designer generated XDP with an Adaptive Form, for generating its DoR.
So I am using AEM Forms for AEM 6.2 here is what I understand, please feel free to correct me:
You can create a PDF from a form submission and there is no requirement to store the data or PDF in the CRX repository. You would need to implement the integration into your back end. I suggest reviewing the documentation, there is detailed information around how to this, here is one example https://helpx.adobe.com/aem-forms/6-2/integrate-draft-submission-database.html
I have a scenario where PDF needs to be generated from filled up forms but the PDF will NOT be stored on CRX anyway. The forms may contain PII and hence we need to store that PDF along with submitted form data into the backend database which is beyond the firewall. We have REST Services to access interface to the backend system. How can we proceed please ?
There are a variety of ways to generate a document of record depending upon your requires will determine whether an XDP template is needed or not https://helpx.adobe.com/aem-forms/6-2/generate-document-of-record-for-non-xfa-based-adaptive-forms.h...
In a verify step you need an XDP
For your third question https://helpx.adobe.com/aem-forms/6-2/configuring-submit-actions.html
Thanks for responding.
1. If we are taking the DoR route, we do not need Designer (XDP) or without that also we can achieve PDF Conversion?
2. In Verify section also, we have a PDF conversion requirement. Will this necessarily require XDP?
3. In the Submit options, we have a "Convert To PDF and Store" option. Will this necessarily require XDP and this option itself will not appear without we selecting XDP in the model?
Appreciate your response.
You require Designer to create XDP files. You can render these XDP files as pixel-perfect PDF Forms or HTML5-Forms.
If you are using adaptive forms and want to keep a record in PDF format. You can use the Document of Record (DoR) feature.