Hi all, I was just wondering if it was possible for a file to have an attachment that imports another attachment? To give an example, say there is file A with attachments B (a pdf file) and C (an xml file). Is it possible to have attachment B import attachment A?
Thanks
Views
Replies
Total Likes
Yes, it is possible.
Views
Replies
Total Likes
ummm....maybe i should have asked how?
Views
Replies
Total Likes
Well,
open a pdf in Acrobat, than attach one other pdf to it (Document > Attach a file).
After that, open the attached file and attach a file to it.
You can repeat this as often as you like.
Views
Replies
Total Likes
Ah sorry, I didn't make myself clear. I meant is it possible to import it programatically to prepopulate the form. So I have form A and attachments B (a form) and C (an xml file) are already attachments in form A. When the user clicks to open attachment B from the attachment list, I would like B to import C to prepopulate the form.
Hope thats clearer.
Views
Replies
Total Likes
Hmmm,
I won't say this is impossible, but I actually don't know how to do this.
You will need a function to load the XML data from the attached file directly into the data DOM.
From there you theoretically can import it with loadXML().
Maybe another suggestion for you.
Here the data is prepopulate across several XFA forms within a PDF package.
http://blogs.adobe.com/formfeed/2010/07/shared_data_in_packages_part_1.html
http://blogs.adobe.com/formfeed/2010/07/shared_data_in_packages_part_2.html
Views
Replies
Total Likes