Skip to main content
November 7, 2012
Question

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

  • November 7, 2012
  • 2 replies
  • 37731 views

hey guys,

     I'm getting this error when I click in the check box in adobe. do I have a settings issue or a syntax issue or what? can anyone help?

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

  1. Doc.insertPages:4:Field Check Box6:Mouse Up

Here is the code

  1. this.insertPages({

nPage : -1,

cPath : "/G/SYNC/TEMP PM/M2T3/P10779-C.pdf",

nStart: 0

});

This topic has been closed for replies.

2 replies

Brainiac
September 24, 2018

This is in the documentation, it’s hardly a secret.

Inspiring
March 11, 2022
app.getPath("user","javascript");

 

results in 

GeneralError: Operation failed.
App.getPath:1:Console undefined:Exec
2

undefined

Brainiac
March 11, 2022
Inspiring
November 7, 2012

See the note about security in the documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.504.html

If you want it to work from a field in a PDF, you (and all other users) will have to install a folder-level JavaScript that includes the code.

November 7, 2012

ok, I'm kind of new to this, how do I do that?

Participating Frequently
September 24, 2018

It's possible with Reader, but only if the document has been given the corresponding usage rights using LiveCycle Reader Extensions, which may be called something else these days. Not inexpensive.


Excellent George ! Thank you a lot !

Can you give me a hint who should I contact for that.

Seems it's a spookie question and a real hidden reply ...

I need that really urgently ...unless I don't need it at all !

Really appreciate your kind reply !

Happy coding George !

sever