Skip to main content
Known Participant
August 16, 2018
Question

addLink is not defined error

  • August 16, 2018
  • 2 replies
  • 3174 views

I'm creating a feature in acrobat reader to navigate to a web page when certain words are clicked.

I'm using the 'addLink' function to do it by referring the book 'Developing Acrobat Applications using Javascript' but I'm getting the error 'addLink is not defined'

Please help with possible solutions

Thanks in advance

This topic has been closed for replies.

2 replies

try67
Community Expert
August 16, 2018

[Question moved to the JavaScript forum]

Bernd Alheit
Community Expert
August 16, 2018

Use Adobe Acrobat, not Acrobat Reader.

Known Participant
August 20, 2018

Is there any alternative for 'addLink' function to use in adobe reader?

Known Participant
August 20, 2018

We did, but you're not making it easier because you're not providing us with the correct code you're using.


Consider this as my requirement like appending a word to the the URL

newWord="hai";

l.setAction("app.launchURL('http://www.google.com?q='+newWord);");

I'm getting error for this.How to resolve this?