ExportAsFDF method is working with Adobe Acrobat but not working in Adobe Acrobat Reader DC
Hi All,
I am new to the Adobe Customization and recently I am facing some issue while exporting all the annotation from the PDF.
I have created a folder level javascript and put that in adobe dc install folder, the same script I have placed in the Adobe Acrobat install folder as well.
In the script I have created a menu and on clicking of that menu, all the annotation should get exported in some folder (I have drive mapped). when opening the PDF from Adobe Acrobat I am able to execute the menu and fdf file is getting exported as well. but the same PDF when I open with Adobe Acrobat Reader DC I am getting the below error.
NotAllowedError: Security settings prevent access to this property or method.
Doc.exportAsFDF:40:Menu Custom Save-Acrobat-AppData:Exec
below is the code snippet I am trying to execute.
var temp = "/Y/Markup_Data/"+authorName+".fdf";
this.exportAsFDF({cPath:temp,bAnnotations:true});
I am calling the above function as trustedFunction also.
app.addMenuItem({cName:"Custom Save-Acrobat", cParent:"Help", cExec:"app.trustedFunction(myfunction())" });
Still giving the same error.
can you all expert help me with this.
