6 Replies Latest reply on Feb 7, 2012 9:17 PM by Kimbleri

    Try to use trustedFunction

    Kimbleri Level 1

      var MyTrustedSaveAs = app.trustedFunction(function(?)

      {

      app.beginPriv();

      this.saveAs("Something"); 

      app.endPriv();

      });

       

      I would like to save my adobe form name and I want to use code I have there. Can someone tell what should I but there where I have ?...

      I am not familiar to this trustedFunction though can somebody tell me more about this method and also if know, tell me if this same work with reader also?

       

      When I use only

       

      this.saveAs("Something");

       

      then there comes error message

       

      NotAllowedError: Security settings prevent access to this property or method.

      App.trustedFunction:2:AcroForm:Button1:Annot1:MouseUp:Action1

       

      Thank you for your help!