6 Replies Latest reply on Mar 25, 2017 3:51 AM by JR_Boulay

    exportDataObject & Attach File comment tool

    JR_Boulay Adobe Community Professional

      Hi experts.

       

      I know how to use

      this.exportDataObject({cName: "myFile.pdf", nLaunch: 2});

      to open an attachment.

       

      It works fine with attachments attached using the Attachments pane, but when I want to open an attachment attached using the Attach File comment tool I always get this error mesage: TypeError: Invalid argument type.

       

      What must I do to JavaScript-open an attachment attached using the Attach File comment tool?

      I need this to works with Acrobat Reader (11 & DC).

       

      Thank You