Implementing Prefill service for an adaptive form embedded in page | Community
Skip to main content
Abhilash1289
Level 2
January 15, 2020
Solved

Implementing Prefill service for an adaptive form embedded in page

  • January 15, 2020
  • 1 reply
  • 2641 views

I am working on forms portal where adaptive forms are embedded within page component and data is being stored in relational database in line with custom storage guidelines provided by Adobe for draft and submission. I am curious to know the best approach to prefill adaptive form with in a page. I am looking at below article and posting this query to see more suggestions or inputs

 

https://docs.adobe.com/content/help/en/experience-manager-64/forms/adaptive-forms-advanced-authoring/prepopulate-adaptive-form-fields.html#AEMFormsprefillservice

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mayank_Gandhi

The best way is to have schema bound form and use FDM for prefill. However, based on requirement you may choose a different approach. 

1 reply

Mayank_Gandhi
Adobe Employee
Mayank_GandhiAdobe EmployeeAccepted solution
Adobe Employee
January 16, 2020

The best way is to have schema bound form and use FDM for prefill. However, based on requirement you may choose a different approach. 

Abhilash1289
Level 2
January 16, 2020

@mayank_gandhi  My form is bound to proper schema and I am saving data xml in Relation database which is storage for draft and submission. Can I use the same data xml as request attribute in page component script in which form is embedded ? Also confirm if I need to pull additional metadata to pre populate adaptive form in page ?

 

Actual requirement is to enable user to open drafted application and continue from there.We have our custom user dashboard where drafted form(s) will be displayed and upon clicking continue user should be able to see form populated with previously saved data. We are not using out of box drafts and submission component but using service implementation provided by Adobe to customize the data storage.