I have an xdp form which I can render to the browser and upon a submit I have a servlet that gets the xml. I would also like to have the PDF returned to me as well. I used the Quick Start: Handling submitted forms using the Java API found here http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/wwhelp/wwhimpl/js/html/wwhelp.htm?... under the Forms Service API Quick Starts, but am unable to return the PDF as noted in the code. Any ideas? Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
You can check a checkbox on the XDP submit format that says "Include PDF". (I can't remember the exact wording, but it's something like that.)
This will cause the entire PDF file to be base64 encoded, and embedded into the XDP XML file.
You should then be able to extract it from the XML, decode it, and save it.
Note that submitting PDf in any way from a form requires either Acrobat or Reader Extensions.
Howard
Views
Replies
Total Likes
In the submit button on the form there is a property that controls what is submitted. Change that to PDF.
Paul
Views
Replies
Total Likes
I tried that with adobe support online with me and that did not work either. Also, I want the XML to be returned in order to retrieve the data from it, and save a copy of PDF. With Livecycle 7.2 I do this making 2 requests to the Adobe APIs in the servlet that handles the returned xdp, and I'm able to get both the xml and the pdf. Thanks
Views
Replies
Total Likes
You can check a checkbox on the XDP submit format that says "Include PDF". (I can't remember the exact wording, but it's something like that.)
This will cause the entire PDF file to be base64 encoded, and embedded into the XDP XML file.
You should then be able to extract it from the XML, decode it, and save it.
Note that submitting PDf in any way from a form requires either Acrobat or Reader Extensions.
Howard
Views
Replies
Total Likes
Howard, I got the first part about ensuring the pdf is checked, but the
second part I don't understand. Are you saying the pdf file itself is
embedded in the xml file? If so, how to I retrieve it? Thanks
Jeffrey A. McManigal
I/S Engineer
I/S Web and Integration Services
Mutual of Omaha
402.351.8638
jeff.mcmanigal@mutualofomaha.com
"Howard Treisman"
<forums@adobe.com
> To
"Jeffrey McManigal"
06/12/2009 08:56 <jeff.mcmanigal@mutualofomaha.com>
AM cc
Subject
clearspace-466763 from Browser
762-407135-2-2034
242@mail.forums.a
dobe.com
You can check a checkbox on the XDP submit format that says "Include PDF".
(I can't remember the exact wording, but it's something like that.)
This will cause the entire PDF file to be base64 encoded, and embedded into
the XDP XML file.
You should then be able to extract it from the XML, decode it, and save it.
Note that submitting PDf in any way from a form requires either Acrobat or
Reader Extensions.
Howard
Views
Replies
Total Likes
There was a coding error in the Livecycle Example, which has since been resovled. Thanks to all who helped.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies