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

Auto Save in AEM adaptive forms not working.

Avatar

Avatar
Validate 1
Employee
sama51272476
Employee

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Employee
sama51272476
Employee

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
sama51272476
Employee

26-08-2016

I am trying to configure AEM adaptive forms for Autosave functionality as per the document. But I am facing an issue with it. I configure it correctly for time based autosave but still its not working. The data is not being stored automatically but if I click on the save button at the bottom of the form it gets saved.

Any idea if it is a product bug or if I am missing something ?

Regards,

Samir

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 25
Level 5
James_R_Green
Level 5

Likes

47 likes

Total Posts

191 posts

Correct Reply

47 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 5
James_R_Green
Level 5

Likes

47 likes

Total Posts

191 posts

Correct Reply

47 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
James_R_Green
Level 5

25-01-2018

Old question, but I had a similar problem. I tried putting a value of "elementValueChanged" as the event but that didn't work. I worked around this with the following client library on my form:

window.addEventListener("bridgeInitializeStart", function (evnt) {

  // get hold of the guideBridge object
  var gb = evnt.detail.guideBridge;

  //wait for the completion of adaptive forms
  gb.connect(function () {

  //this function will be called after adaptive form is initialized

  gb.on("elementValueChanged", function (event, data) {

  // When a field is changed - save
  gb.trigger("guideAutoSaveStart");

  });

  })

});

Although this works as I would like, I would be interested to know why an event of "elementValueChanged" didn't work. Does anyone have an example of autosave without a client library using an event?

Answers (1)

Answers (1)

Avatar

Avatar
Boost 1
Level 2
gauravahuja11
Level 2

Like

1 like

Total Posts

9 posts

Correct Reply

4 solutions
Top badges earned
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 1
Level 2
gauravahuja11
Level 2

Like

1 like

Total Posts

9 posts

Correct Reply

4 solutions
Top badges earned
Boost 1
Affirm 3
Affirm 1
View profile
gauravahuja11
Level 2

07-12-2016

Hi,

Did you try it for event based ? Can you please share the configuration you used for autosave.

The documentation for auto save is present at - https://helpx.adobe.com/aem-forms/6-1/auto-save-an-adaptive-form.html

Regards,

Gaurav