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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Generating XML file

Avatar

Level 1

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???

2 Replies

Avatar

Level 10

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

Avatar

Level 1

Thank You for your attention.

It was not exactly what i need.

I'll keep on finding out...