Prefill service with attachments | Community
Skip to main content
Abhilash1289
Level 2
January 29, 2020

Prefill service with attachments

  • January 29, 2020
  • 2 replies
  • 3667 views

I am working on requirement where I need to pre populate half of the sections with multiple fields and attachments in adaptive form other form data which has already submitted. Since the data model /XSD is similar for both of the forms I am thinking to capture data xml of previous submission and remove elements which are not present in new form.  I am able to populate data but facing issue with attachments. I am curious to know if there is any way to retrieve all attachments from previous submission with help of prefill service. Any suggestion to implement this would be really helpful and  highly appreciated.

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

2 replies

Mayank_Gandhi
Adobe Employee
Adobe Employee
January 31, 2020

Hi Abhilas,

 

Are you using restoreGuideState(options)?

Abhilash1289
Level 2
February 13, 2020
Hi Mayank. I am constructing prefill xml to auto populate data on few sections of new form since we are saving data to various tables using custom submit action. I am not aware of restoreGuideState(options). Basically I want to see prefill service works like how AEM drafted application will render all data of saved application including attachments.
Adobe Employee
September 30, 2020
Pekket
Level 2
April 15, 2021

Ever found the answer to this problem?
I think i have the same case.
Prefilling some fields & attachments