Hi,
I am trying to implement AEM form draft submission feature , i have configured mysql database for draft submission .
When i am saving the form the data is saved successfully in my database (Mysql) .
but when i am refreshing the page the data is not available in forms fields, i am doing it on my Author instance.
I want form saved data to be prefilled in forms fields .
Any help .
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
The Drafts and Submissions component [1] should be added to an AEM page somewhere as a normal content page. When a user logs in, they will then browse to this page and they should see a list of any forms that they have previously saved. You can then click on the one you want and it should open up with the saved data.
You should be able to author then publish this page like any other AEM page using this component.
You need to be aware that other users will also have to be logged into the Publish instance for the component to work as it has to identify who is saving/retrieving the form data. This usually means you have to build an authentication mechanism into Publish if it doesnt exist already.
If you download and install the We Gov sample package [2], you will see an example Forms Portal if you browse to e.g. http://localhost:4502/content/we-gov/en/applications/myforms.html
[1] Adobe Experience Manager Help | Drafts and submissions component
[2 (this is for AEM Forms 6.4) ] https://www.adobeaemcloud.com/content/marketplace/marketplaceProxy.html?packagePath=/content/compani...
Views
Replies
Total Likes
Hi ,
This is working as designed. Consider an example you are filling a form in a Bank or enrollment form; the moment you hit back or refresh the data would be gone as it would load a new instance of the form and it would be blank. Ideally, the saved form should be accessed via drafts and submissions component[1]. This use case has been discussed previously also at https://forums.adobe.com/message/9561950#9561950
[1] Adobe Experience Manager Help | Drafts and submissions component
Views
Replies
Total Likes
Hi Mayank,
I am new in AEM forms , could you please explain me how i can access saved form via Draft and Submission component.
I go through many documentation but still not able to figure it out .
Thanks,
Runit malik
Views
Replies
Total Likes
The Drafts and Submissions component [1] should be added to an AEM page somewhere as a normal content page. When a user logs in, they will then browse to this page and they should see a list of any forms that they have previously saved. You can then click on the one you want and it should open up with the saved data.
You should be able to author then publish this page like any other AEM page using this component.
You need to be aware that other users will also have to be logged into the Publish instance for the component to work as it has to identify who is saving/retrieving the form data. This usually means you have to build an authentication mechanism into Publish if it doesnt exist already.
If you download and install the We Gov sample package [2], you will see an example Forms Portal if you browse to e.g. http://localhost:4502/content/we-gov/en/applications/myforms.html
[1] Adobe Experience Manager Help | Drafts and submissions component
[2 (this is for AEM Forms 6.4) ] https://www.adobeaemcloud.com/content/marketplace/marketplaceProxy.html?packagePath=/content/compani...
Views
Replies
Total Likes
Thanks @DarrenBiz , i didn't add Draft & Submission component on Form .
After adding it on form ,i was able to see my saved and submitted form data.
Views
Replies
Total Likes
Great response! We marked that correct!
Views
Replies
Total Likes
Views
Likes
Replies