Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi All,
I'm trying to add attachment in PDF from using Adobe Livecycle ES 8.2 designer tool.Used the custom script in button click, but it's not working. Please someone quickly advise me and share the custom script to add attachment in button click event.
Script is
var annot = this.addAnnot({
page: 0,
type: "FileAttachment",
point: [500, 500],
noView: true,
author: "Attachment"
});
annot.cAttachmentPath;
var attachmentObj = annot.attachment;
if (attachmentObj !== null) {
app.alert("Add this file: " + attachmentObj.name);
var l = this.getField("lst1");
l.insertItemAt(attachmentObj.name, 0);
}
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies