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

unable export data in Reader

robman
Registered: Sep 18 2007
Posts: 25

I design a form in LiveCycle Designer, and I want to export form data after user fill the form in Adobe Reader.
I certificat this form document, and "ExportData" can work fine in my Adobe Acrobat Profession, but it can not work in Adobe reader. when I click "export" button, throw a javascript error:
NotAllowedError:Security settings prevent access to his property or method.
wether the reader not support export data function?
if I want to export data in reader, how to do? Thanks in advanced.

My Product Information:
Reader 8.0999999999999996447286321199499070644378662109375, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You can export data from Reader. But there are several restrictions. If you look at any of the "Export" functions in the Acrobat JavaScript Reference you'll see that there are two restrictions listed.

First, the form must have Form Data Export Rights, which is a type of Reader Rights enabling. It's the kind that cannot be applied with Acrobat Pro. This one has to be done from the LiveCycle Rights server.

The second security restriction is that the export function must be called from "privileged" context if the "cPath" parameter is specified. If you don't care about specifying a path you can execute this from a document script and the call will display the "File Save" dialog.

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