Highlighted

Generating XML file

Avatar

Avatar

i_konst

Avatar

i_konst

i_konst

05-11-2009

Hi to All. Help me, pls.

I have created a form with LiveCycle Designer ES and need help for submitting it in XML-format file to localhost. (such as C:\Users\Administrator\Documents)

I need to push the button (using Adobe Reader) and XML file should be generated and saved in my directory (or any other place, like ftp://192.168.0.1/AnyDirectory/)

I know, that XML file can be generated when use EmailSubmitButton and there are no any default e-mail client (you have to save xml file for sending it via Internet e-mail client).

How can I save data in XML file???

Replies

Highlighted

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

05-11-2009

You will not be able to submit it to yourself unless you have a web server running on your machine. You can save the XML locally but you cannot do it unless the user picks the filename to save. Create a regular button and on th eclick event put this command:

xfa.host.exportData("", false);

When the button is pressed a file choose dialog will pop up allowing the user to pick the file and location of the data file.

Paul

Highlighted

Avatar

Avatar

i_konst

Avatar

i_konst

i_konst

06-11-2009

Thank You for your attention.

It was not exactly what i need.

I'll keep on finding out...