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.
Views
Replies
Total Likes
It's not possible from a script, only by attaching the desired files manually to an email.
Views
Replies
Total Likes
[Question moved to the LiveCycle Designer forum]
Views
Replies
Total Likes
It's not possible from a script, only by attaching the desired files manually to an email.
Views
Replies
Total Likes
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?
I really appreciate the effort. I am doing my best to learn. I am not new to JavaScript but I am new to LiveCycle Designer and it seems like I am probably going to be working with it a fair bit in the future. The more I know, the better. This was the only bit that really threw me on the project.
Views
Replies
Total Likes
Why? Well, because the builtin scripting methods and APIs in Adobe Acrobat/Reader only handle a singe file.
Here's the documentation of Acrobats JavaScript API:
https://wwwimages2.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/AcrobatDC_js_api_reference.pdf
Here's the LiveCycle scripting reference:
https://help.adobe.com/en_US/livecycle/8.2/LiveCycle_Designer_Scripting_Basics.pdf
See table on page 85. It lists, what scripting methods from Acrobat JS API are used.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies