Skip to main content
Participating Frequently
August 17, 2017
Question

ExportAsFDF method is working with Adobe Acrobat but not working in Adobe Acrobat Reader DC

  • August 17, 2017
  • 2 replies
  • 2435 views

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.

This topic has been closed for replies.

2 replies

Participating Frequently
August 17, 2017

Hi Bernd,

We have install Acrobat Pro version and created a pdf which is having "Enable commenting and Measuring" extend.

Still we are getting the same error.

We want to know, is there any way other then LiveCycle Reader, we can provide form rights to the PDF?

Also how we can come to know whether our PDF is having form rights?

Bernd Alheit
Community Expert
Community Expert
August 17, 2017

vv85703358  wrote

...

We want to know, is there any way other then LiveCycle Reader, we can provide form rights to the PDF?

...

I don't know.

Bernd Alheit
Community Expert
Community Expert
August 17, 2017

Read the documentation of exportAsFDF in the Acrobat JavaScript Reference.

Participating Frequently
August 17, 2017

Hi Bernd from javascript Reference only I get to know about the method.

it is not working for Adobe Acrobat Reader DC version, while it is working for Adobe Acrobat

could you please help me where I am doing wrong or missing something.

Also I have save the file from File -> Save as other -> reader extended PDF -> Enable form fill in...

Bernd Alheit
Community Expert
Community Expert
August 17, 2017

The F in the quick bar means you must add Form Rights to the document. For this you must use LiveCycle Reader Extensions.