Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Unable to see saved form data in AEM form after refresh

Avatar

Avatar
Validate 1
Level 1
runitm3137443
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
runitm3137443
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
runitm3137443
Level 1

24-07-2018

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 5
DarrenBiz
Level 5

Likes

67 likes

Total Posts

205 posts

Correct Reply

37 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 5
DarrenBiz
Level 5

Likes

67 likes

Total Posts

205 posts

Correct Reply

37 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
DarrenBiz
Level 5

29-07-2018

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...

Answers (4)

Answers (4)

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

06-08-2018

Great response! We marked that correct!

Avatar

Avatar
Validate 1
Level 1
runitm3137443
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
runitm3137443
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
runitm3137443
Level 1

06-08-2018

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.

Avatar

Avatar
Validate 1
Level 1
runitm3137443
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
runitm3137443
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
runitm3137443
Level 1

29-07-2018

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

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,139 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,139 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

25-07-2018

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