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.
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