Skip navigation
hendrik1
Currently Being Moderated

Javascript: SOAP.connect() fail with NotAllowedError

Sep 24, 2009 2:10 AM

I try to call the javascript method SOAP.connect() from a self created menu item added by app.addMenuItem(). If i call SOAP.connect() within the AppInitialisationContext it works perfectly, but calling it from "cExec" will fail with  NotAllowedError: Sicherheitseinstellungen verhindern den Zugriff auf diese Eigenschaft oder Methode.(security permissions deny call to function or property).

 

Surrounding the SOAP.connect() with a app.trustedFunction (to get an trusted context) will also fail with the same error message.

The PDF i loaded into Adobe Reader 9 (free Edition! without an [LS] Extensions installed) is granted with forms rights, so the required F Flag (API Reference) should be not the problem.

The Javascript is located in user home (and app dir of the reader); both shows the above mentioned problems.

 

Is that a problem with the free Reader Edition or a (solvable) permissions problem?

 

Thanks in advance
Hendrik

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points