Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

After Submit - Export data to a folder as XML or Excel or TXT

Avatar

Level 2

Hi All,

Just wanted to update my eariler query with much clarity.

After i submitt the eDoc form reader, i want the form data to get stored in a Windows local Folder

with any of the file formats.

XML, MDB or Excel or TXT

Please advice with appropriate Driver selection,

Code snippet and design.

I dont want the user to know about the data export.

We have already fetched the data from MDB, SQL Server and Excel, CSV.TXT.

Its turn to Export..

Please help ...please advice.

1 Reply

Avatar

Level 10

You can export the data in XML format out of the form using the command xfa.host.exportData("", false), but you will not be able to do it unattended. For security reasons the user has to be involved in the save. This command will brinng up a dialog and allow the user to choose the location and filename for the save. The only way you can do it unattended is to Certify the PDF with a certificate and have the certificate that was used to certify resident in the trusted store of the users machine. This indicates that the users trust the source of the PDF and will allow interaction with resources in their machine.

Paul