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

exportAsXFDF versus Reader 8 ?

moi
Registered: Aug 18 2007
Posts: 2

exportAsXFDF versus Reader 8 ?
 
I, I want to export data (XFDF) from an Acrobat forms when the user click on a button in this one in Reader.
 
I have set the rights to save the forms via Acrobat 8 professionnal and when I complete the forms in Reader and save it in PDF format, works like a charm.
 
I made a javascript action button to export data, here is the code :
 
this.exportAsXFDF ();
 
I always getting an exception of protected mode (security mode) that this fonction can't be executed. This is error code the foms throw : NotAllowedError: Doc.exportAsXFDF:1:Field Bouton2:Mouse Up
 
I tried to put some parameters but doesn't work.
 
I even tried to put the function into an trustedFunction, doesn't work, same error.
 
function myOtherTrustedFunction()
{
this.exportAsXFDF();
};
app.trustedFunction(myOtherTrustedFunction);
  
I tried to execute this action in both Reader and Acrobat and the result are the same.
 
I want to save data in XFDF, I don't want to send each time the PDF (bigger) over the network when I have just to send the data in an XML format.
 
Thank for your help

My Product Information:
Reader 8.0999999999999996447286321199499070644378662109375, Windows
leonardr
Expert
Registered: Feb 14 2006
Posts: 333
You can't save form data from Reader - only from Acrobat.

Leonard Rosenthol
PDF Standards Architect
Adobe Systems