Question
Export of a file annotation located in PDF page
I want to export a file attachment located in a page with a javascript.
I tried like that:
var annotObj = this.getAnnots(this.pageNum)[0];
var attachObj = annotObj.attachment;
console.println(attachObj.name);
this.exportDataObject({cName: attachObj.name});
And I expected the typical security popup, which does not appear.
What am I doing wrong here?
