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

SOLVED

Exporting XML and/or .csv from PDF form

Avatar

Level 2

Is there a way to place a button or macro in a PDF form that would allow a user to automate the extraction of the full XML out of the completed PDF form without using the email functionality? What I'd like to do is automate the Forms-->Manage Form Data-->Merge Data Files into Spreadsheet process--for XML and .csv--or both.

I'm a newbie to LiveCycle and javascript--so the solution may be beyond my comprehension but thought I'd put the question out there.

1 Accepted Solution

Avatar

Correct answer by
Level 10

There is no XFA equivalent command for this but you can access the AcroForm command. It will bring up the save dialog and the user has to pick the filename (a default one will be provided) and location to store the file . For security reasons you cannot fully automate the save. I have not tried this myself but the command woudl be:

event.target.exportAsText()

Paul

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

There is no XFA equivalent command for this but you can access the AcroForm command. It will bring up the save dialog and the user has to pick the filename (a default one will be provided) and location to store the file . For security reasons you cannot fully automate the save. I have not tried this myself but the command woudl be:

event.target.exportAsText()

Paul

Avatar

Level 2

Thanks, Paul. I will experiment with that and see what happens.