I am creating an order form for a client. I need a button that, on click, creates both a PDF file and an XML data file and attaches both to the same email. So far, I am failing gloriously on coming up with something that works. I am currently working in Adobe LiveCycle Designer ES4. Any help would be greatly appreciated.
Solved! Go to Solution.
So it is possible to do it through script for one or the other, but not for both. Would you mind explaining (if you know), why that is?
Why? Well, because the builtin scripting methods and APIs in Adobe Acrobat/Reader only handle a singe file.
Here's the LiveCycle scripting reference:
See table on page 85. It lists, what scripting methods from Acrobat JS API are used.