7 Replies Latest reply on Mar 22, 2010 8:14 AM by Norb11

    Acrobat Reader problem with combobox.

    Norb11 Level 1

      Hi,

      I have pdf document with dynamical load combobox items list.

       

      When i open  this docs on Acrobat 9.1, all is OK, but when I open this file on  Acrobat reader 9.3 My combobox is empty :/

      My docs doesn't work :/

      Why?

      Should I add  some special options before save file on acrobat ?

        • 1. Re: Acrobat Reader problem with combobox.
          Norb11 Level 1

          I must add some nfo:

           

          I have copy  file config.js  from acrobat installation dir to   acrobat reader installation dir,   and when i   open debug console on acrobat reader I have this message:

           

           

           

          Acrobat EScript Built-in Functions Version 9.0


          Acrobat Annotations / Collaboration Built-in Functions Version 9.0
          Acrobat Annotations / Collaboration Built-in Wizard Functions Version 9.0
          Acrobat SOAP 9.0

           

          NotAllowedError: Security settings prevent access to this property or method.
          Doc.importDataObject:5:Page undefined:Open
          • 2. Re: Acrobat Reader problem with combobox.
            Bernd Alheit Adobe Community Professional & MVP

            trustedDataGet is not defined

            Looks like that function trustedDataGet is not defined.

            • 3. Re: Acrobat Reader problem with combobox.
              Norb11 Level 1

              Yes,

              i  have this error  befor  repleace config.js./

               

               

               

              Can I  read data from text file and set it as combobox on acrobat reader?

               

               

              All working OK, when I use Adobe Acrobat, but  when I try use Acrobat   Reader i Have this error:

               

              Acrobat EScript Built-in Functions Version 9.0
              Acrobat Annotations / Collaboration Built-in Functions Version 9.0
              Acrobat Annotations / Collaboration Built-in Wizard Functions Version 9.0
              Acrobat SOAP 9.0

               

              NotAllowedError: Security settings prevent access to this property or method.
              Doc.importDataObject:5:Page undefined:Open

              • 4. Re: Acrobat Reader problem with combobox.
                Bernd Alheit Adobe Community Professional & MVP

                NotAllowedError: Security settings prevent access to this property or method.
                Doc.importDataObject:5:Page undefined:Open

                Read the description of method importDataObject.

                • 5. Re: Acrobat Reader problem with combobox.
                  Norb11 Level 1

                  I  declare it on  my trust method, and this working OK on Acrobat, but  i have this error on Reader.

                   

                  On API  reference manual,  I don't see info about working  this method on acrobat reader:

                   

                   

                  this is my  safe method:

                   

                  trustedDataGet = app.trustedFunction (
                  function(){
                      app.beginPriv();
                           this.importDataObject("myFile.txt", "test.txt");
                          var oFile = this.getDataObjectContents("myFile.txt");
                          var cFile = util.stringFromStream(oFile, "utf-8");
                          var cLines = cFile.split("\r\n");
                    app.endPriv();
                          return cLines;
                      }
                  );

                   

                   

                  What is wrong?

                  • 6. Re: Acrobat Reader problem with combobox.
                    try67 MVP & Adobe Community Professional

                    In the reference file it says about importDataObject that it is only

                    available in Reader when the file has "file attachment rights", which can

                    only be applied with the LiveCycle Extensions Server.

                    • 7. Re: Acrobat Reader problem with combobox.
                      Norb11 Level 1

                      So...

                      If I don't have   LiveCycle Extensions Server. I can't  use this file  with acrobat reader?

                      If i want use this pdf ( with automatical load combobox)  must  have full version  of Acrobat  or  LiveCycle Extensions Server.?