Expand my Community achievements bar.

Button to save XML Data

Avatar

Level 2

Trying to create a button to save the form data in xml format with a specified path and file name.

My understanding is this is not possible.

It is possible to save but the user must choose the file name and path. ie: xfa.host.exportData("", false);

Is this true even if using a trusted function??

Can some one please confirm this.

Also, if I can not save XML, can I save in another format (ie: text) to a specified path and file name?

Next, if not possible, I read that the doc must be certified and then I may be able to do this (save XML data).

How does one get a certified doc?

1 Reply

Avatar

Former Community Member

That expression will allow the user to choose a filename but it will append an XML extension to it.

If it is a trusted function then you will be able to include a file name.

Certifying a document is done in Acrobat (under the signatures area) but you need a certificate to do it. Then the user must have that same certificate in their trusted store.

Paul