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

Export data as Text

Mizokunimito
Registered: Sep 29 2008
Posts: 2

Hi,

I'm trying to save data inserted in a simple forms (a couple of textbox) to a text file.As suggested by reference I used doc.exportAsText() and i bound this to a simple button.

All works fine as I trying it with the Acrobat writer, infact a simple form ask me where file must be saved, but when I open the PDF file from another machine with only the reader at the button pression nothing happens.

I don't previde a path to the method so, no security issues should be involved.
Anyone could help me?

Thanks a lot.

George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
That method requires the PDF to have additional usage rights applied for it to work with Reader. Unfortunately, the specific rights cannot be applied with Acrobat, but rather requires Adobe's LiveCycle Reader Extensions product.

Note that this restriction is indicated in the Acrobat JavaScript reference by an F entry in the last box (Availability) of this method's Quick bar.

George