I am trying to use the "Store PDF" option available under
- Create adaptive form (test-form)
- Go to Classic UI
-On top, in front of "Start of an adaptive form", click "Edit"
- Click on "Submit actions" tab
-Select dropdown option "Store PDF" for Submit action
I see the Store Path as "/content/usergenerated/content/forms/af/test-form/*"
I activate the form and as a user click on 'Submit' button from Publish. I get the thank you message, but when I go to location /content/usergenerated/content/forms/af, I do not see any thing below that.
In logs I see this warning message, no error
*WARN* [0:0:0:0:0:0:0:1  POST /content/forms/af/test-form/jcr:content/guideContainer.af.internalsubmit.jsp HTTP/1.1] com.adobe.aemds.guide.utils.SubmitDataCollector templateKey not found in merge json:submissionMetaInfo
Does any one have idea what might be wrong or where to look for saved pdf if it is?
The Store PDF submit action is available as part of the AEM forms add-on package and applies only to XFA-based adaptive forms. In addition to storing the data on the node, the Store PDF submit action merges the form data with the XDP to generate and store a PDF at the configured store content path. If the form is configured to use Adobe Echosign for signing the PDF, the signed PDF is stored in the configured node as a child node.
Thanks for sharing the articles,
I looked into https://helpx.adobe.com/aem-forms/6/synchronizing-adaptive-forms-xfa.html. Here it seems there is a sample .XDP used to created the adaptive form. How can that be generated?
If the forms are created in a tool such as Adobe Indesign, can we generate such XDP formats?
Same thing for article 1 ( https://helpx.adobe.com/aem-forms/6/creating-adaptive-form.html#main-pars_header_0), I don't see any way in Adobe indesign to get an XML that can be uploaded to AEM forms. I was able to get an export to xml of the pdf form but I see error as below
So the basic question for me stays, how can we integrate forms created in Adobe Indesign into AEM Forms, so that they can be edited from there on?
You can refer article which tells how to create a adaptive-form with different form models.
You can also refer article that helps in creating a adaptive forms with XFA.
Hope this helps!
Thanks DarrenBiz, I will explore the option. (Currently I am not sure whether we can adopt the option, unless Forms designer is the only way)
Thanks for the response. I have the add on package and was able to use the store pdf option. However was not aware that form needs to be XFA-based adaptive form. I checked briefly while replying here, do you have any idea how the XFA-based forms can be created within AEM/AEM forms ?