These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Trusted functions extended to Reader?

mlwallintx
Registered: Mar 30 2010
Posts: 17
Answered

I have a form created with Acrobat Pro 9 that uses a trusted function in a folder level script that performs importTextData with a button click. It works fine until I Extend Features in Adobe Reader. Then it receives this error:

NotAllowedError: Security settings prevent access to this property or method.
Doc.importTextData:7:Field
ImportPtDemos:Mouse Up

Is there a way to make this work after Extending Features in Reader? It doesn't work in either Reader or Pro, and it would sure be nice if it could at least work in Pro.

My Product Information:
Acrobat Pro 9.3.1, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The option in Acrobat 9 for "Extending Features in Adobe Reader" applies Form, Save, Comment, and Signature Reader Rights to the PDF. Once enabled, Acrobat/Reader can only make changes to the document that are within these Rights. Import/Export is a separate Right. Since it is not included in this list of rights it is no longer allowed in either Acrobat or Reader. If you want to use the import then don't Rights enable the PDF.

If you had the LiveCycle ES Rights server you could apply Import/Export rights. This is the only way.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script