We are stuck and no one has documented this and support does not seam
to understand this either.
We can post the form to a servlet and get the bit stream but can not
pull out the XDP. There is an XDPXFAHelper class supplied with LC but
no one knows what JAR its in.
The form will have attachments that we need to run virus scan on and
many other function once we can parse the package out.
Any help you can provide would be greatly appreciated.
Happy Holidays,
Anthony
--
You received this message because you are subscribed to the Google Groups "Adobe LiveCycle Developers" group.
To post to this group, send email to live...@googlegroups.com.
To unsubscribe from this group, send email to livecycle+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/livecycle?hl=en.
http://forums.adobe.com/thread/335131
Sorry, its a long thread ! Hope you can find some info which might
help you.
Tarek.
On Dec 24, 8:15 pm, Duane Nickull <dnick...@adobe.com> wrote:
> com.adobe.livecycle.formdataintegration.client
>
> Specifically, the public method exportData(Document PDFReference) will export the data from a form. I cannot remember which jar it is in but it shouldn't be hard to find out in eclipse.
>
> D
>
> On 12/24/09 9:20 AM, "Anthony DeBonis" <atdebo...@gmail.com> wrote:
>
> Has anyone had any luck submitting an offline PDF as XDP XML Data
> Package (XDP Allows you to send the document and its components as an
> XML package )
>
> We are stuck and no one has documented this and support does not seam
> to understand this either.
>
> We can post the form to a servlet and get the bit stream but can not
> pull out the XDP. There is an XDPXFAHelper class supplied with LC but
> no one knows what JAR its in.
>
> The form will have attachments that we need to run virus scan on and
> many other function once we can parse the package out.
>
> Any help you can provide would be greatly appreciated.
>
> Happy Holidays,
>
> Anthony
>
> --
>
> You received this message because you are subscribed to the Google Groups "Adobe LiveCycle Developers" group.
> To post to this group, send email to live...@googlegroups.com.
> To unsubscribe from this group, send email to livecycle+...@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/livecycle?hl=en.
>
> ---
> Adobe LiveCycle Enterprise Architecture -http://www.adobe.com/products/livecycle/
> My TV Show -http://tv.adobe.com/show/duanes-world/
> My Blog -http://technoracle.blogspot.com/
> My Band -http://22ndcenturyofficial.com/
> Twitter -http://twitter.com/duanechaos
http://blogs.adobe.com/formfeed/2009/08/base64_encode_a_pdf_attachment.html
Your service consuming the XML reads the attachment data from a node
in the XDP and then hex encodes the data back to its original state,
ready for your processing.
This group rocks! Merry Christmas and Happy Holidays to all!
-Kasey
Are you suggesting that the attachments be encoded as Base64 String,
assigned to a (potentially) hidden field on the form and thus will
become part of the xdp submit ?
I have been working on processing xdp submission via a servlet and
consistently get ZERO attachment count in my code. Can someone confirm
that attachments are not supported in xdp submit for now?
Arvind
On Dec 25 2009, 11:19 am, KHinch <kasey.hinch...@gmail.com> wrote:
> If embedding attachment data on Submit as a Base64 Encoded String on
> Submit will meet your requirements, check out the following post by
> John Brinkman
>
> http://blogs.adobe.com/formfeed/2009/08/base64_encode_a_pdf_attachmen...
>
> Your service consuming the XML reads the attachment data from a node
> in theXDPand then hex encodes the data back to its original state,
> ready for your processing.
>
> This group rocks! Merry Christmas and Happy Holidays to all!
>
> -Kasey
>
> On Dec 24, 9:20 am, Anthony DeBonis <atdebo...@gmail.com> wrote:
>
>
>
> > Has anyone had any luck submitting an offline PDF asXDP XML Data
> > Package (XDPAllows you to send the document and its components as an
> > XML package )
>
> > We are stuck and no one has documented this and support does not seam
> > to understand this either.
>
> > We can post the form to a servlet and get the bit stream but can not
> > pull out theXDP. There is an XDPXFAHelper class supplied with LC but
> > no one knows what JAR its in.
>
> > The form will have attachments that we need to run virus scan on and
> > many other function once we can parse the package out.
>
> > Any help you can provide would be greatly appreciated.
>
> > Happy Holidays,
>
> > Anthony- Hide quoted text -
>
> - Show quoted text -
Yes. The easiest way to set this up would be to write the Base64
encoded string to a field bound to your schema (if working with data
bindings). If you need support for multiple attachments, you can wrap
your attachment data field around a repeatable subform.
I use the following script to grab and store attachment names to my
document on submit. You could try something very similar to store
attachement data:
"attachmentData" is a flowed subform
"attachment" is a repeatable subform (min instances=1)
"attachedDCMstring" is a text field
if you have multiple attachments, access to this data via xpath would
go: //attachmentData/attachment[x]/attachedDCMstring
function createAttachList(){
//Reset the List
adminPage.attachmentData._attachment.setInstances(1);
adminPage.attachmentData.attachment.attachedDCMstring.rawValue = "";
//get the attachments
dcm = event.target.dataObjects;
n = dcm.length;
for( i = 0; i < n; i++ ){
if(i==0){
//for the first attachment, no need to create
more subforms
adminPage.attachmentData.attachment.attachedDCMstring.rawValue = dcm
[i].name;
}else{
//create a new instance of the 'attachment'
subform and write the attachment's name to the text field inside it.
var addDCM = adminPage.attachmentData._attachment.addInstance(1);
addDCM.attachedDCMstring.rawValue = dcm[i].name;
--
You received this message because you are subscribed to the Google Groups "Adobe LiveCycle Developers" group.
To post to this group, send email to live...@googlegroups.com.
To unsubscribe from this group, send email to livecycle+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/livecycle?hl=en.