Hi
I just started working with LiveCycle Designer 7.1 and this is my first post.
I need to add an attachment to my PDF and then provide the user with a button that gives them the option to email the attachment only.
The attachment should not be visible to the user but should already be attached (embedded) in the main PDF.
I came across some code in a document called Acrobat Javascript Scripting Guide.
// Open the file attachment named myFile.xml
this.importDataObject(myData, "/C/myFile.xml");
// Access its contents:
var contents = this.getDataObject("myData");
// Display its contents:
for (var i in contents) console.println(contents[i]);
But I have no idea where to put this code(ie. which event to use, if any)
So in short:
Is it possible to embed the attachment during the design process?.
And how do I just email the attachment and not the entire PDF.
Thanks.