Adobe Acrobat DC / Pro 2020-PDF上的按钮尝试导出为AsFDF-获取NotAllowedError:安全设置阻止访问

问题描述

我的Adobe Acrobat Reader DC的Javascripts文件夹中有一个Config.js。这是Config.js中的代码

var mySaveAs = app.trustedFunction(
   function(odoc)
   {
      app.beginPriv();
      try{
         odoc.exportAsFDF();
      }catch(e){
         app.alert(e);
      }
      app.endPriv();
   }
);

在Adobe Acrobat Pro 2020中,我在可填充PDF上创建了一个按钮,然后按该按钮运行以下JavaScript:

 mySaveAs(this);

然后在Adobe Acrobat Reader DC中按下按钮,我收到此错误

NotAllowedError: Security settings prevent access to this property or method

我什至做过“另存为”>“ Reader Extended PDF”>“启用更多工具(包括填写和保存表单)...

如何获取它,以便Adobe Acrobat Reader DC的用户可以导出为FDF,因为该按钮仅在Adobe Acrobat Pro 2020中起作用。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)