Hi all -
I am able to make HTTP requests using Net.HTTP.request to authenticate and to retrieve the text results from the survey.
But the survey results also include a set of photos, which can be retrieved individually by a GET request. Can anyone provide any hints or examples of how to add a .jpg image as an attachment from the stream result from a web call?
My idea is to download and add the images as attachments, then switch the image fields on the form to display those images.
You don't want to do this entirely in the Acrobat or Reader client. You're going to want a server app sitting in between the PDF and Epicollect. Use an app on the server to format the results from the GET to create an FDF that gets returned to the PDF. The FDF can set the appearance of some read-only button fields on the PDF to show your images.