4 Replies Latest reply on Jun 21, 2016 11:54 AM by Jonathan Dentch

    How to make a second link work?

    Jonathan Dentch

      Document 1 contains a link that takes the user to a named destination is document 2.

       

      var doc2URL = endodeURI('https://.../doc2.pdf');

      var doc2 = app.openDoc({ cPath: doc2URL, cFS: "CHTTP"});

      doc2.gotoNamedDest('doc2dest');

      This works.

       

      Document 2 contains a link that takes the user to a named destination in document 3.

       

      var doc3URL = encodeURI('https://.../doc3.pdf');

      var doc3 = app.openDoc({ cPath: doc3URL, cFS: "CHTTP"});

      doc3.gotoNamedDest('doc3dest');

       

      This does not work while document 2 is open.

       

      How do I make the second link work?