Highlighted

Retrieve PDF file generated by Form

JoseBerciano

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

Highlighted

nsvsrk

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.