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

Prefill service with attachments

Avatar

Avatar
Validate 1
Level 1
Abhilash1289
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 1
Abhilash1289
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile
Abhilash1289
Level 1

29-01-2020

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.

Adaptive Forms AEM Forms Prefill Service

Replies

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

316 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

316 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

31-01-2020

Hi Abhilas,

 

Are you using restoreGuideState(options)?

Avatar

Avatar
Validate 1
Level 1
Abhilash1289
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 1
Abhilash1289
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile
Abhilash1289
Level 1

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

Avatar

Avatar
Boost 25
Level 3
gbedekar
Level 3

Likes

26 likes

Total Posts

34 posts

Correct Reply

9 solutions
Top badges earned
Boost 25
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile

Avatar
Boost 25
Level 3
gbedekar
Level 3

Likes

26 likes

Total Posts

34 posts

Correct Reply

9 solutions
Top badges earned
Boost 25
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile
gbedekar
Level 3

30-09-2020

Avatar

Avatar
Ignite 1
Level 2
Pekket
Level 2

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Ignite 1
Level 2
Pekket
Level 2

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back
View profile
Pekket
Level 2

15-04-2021

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