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

Retrieve PDF file generated by Form

Avatar

Avatar
Give Back 3
Level 2
JoseBerciano
Level 2

Likes

10 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 3
Ignite 1
Validate 10
View profile

Avatar
Give Back 3
Level 2
JoseBerciano
Level 2

Likes

10 likes

Total Posts

40 posts

Correct Reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 3
Ignite 1
Validate 10
View profile
JoseBerciano
Level 2

22-03-2016

Hi,

I am having some difficulties on finding the way of getting some data programmatically about the PDF documents generated by my form.

What I did is set the Submitting actions like so:

After hitting submit I can effectively see that the file has been stored in CRX:

 

Now my question is, how can I access these PDF files information programmatically? For now I would only need the PDF path in order to create a href tag in my html to allow users download their documents.

So after some digging the best approach that I could find is implementing the interface SubmittedAFDataService (https://helpx.adobe.com/aem-forms/6-1/javadocs/com/adobe/fd/fp/service/SubmittedAFDataServ ice.html), but I haven't had any success on that, plus the interface is deprecated (I did not find which is the new interface that replaces it)

Replies

Avatar

Avatar
Validate 50
Level 4
nsvsrk
Level 4

Likes

21 likes

Total Posts

229 posts

Correct Reply

5 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Ignite 5
View profile

Avatar
Validate 50
Level 4
nsvsrk
Level 4

Likes

21 likes

Total Posts

229 posts

Correct Reply

5 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Ignite 5
View profile
nsvsrk
Level 4

31-03-2016

Hi Jose,

It looks like a Forms query and should have been created in http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/aem-forms.html.

When you configured Submit action, in the Edit tab of "Start of Adaptive Form" panel, it lists the path for storing PDF file right?

Could you use it?

You could change that to a more suitable folder path.

You could Email PDF file and also trigger an AEM Workflow and send it to the parties with this PDF as attachment.

Please suggest whether it helps.

Thanks,

Rama.