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

Catch / know XML Data of PDF Form (without do XML submit)

Avatar

Level 3

Is it possible from within a PDF form, using JS get / know XML data of the current form?

I need to get the same XML data that would be generated with "export data" feature of Adobe Professional.

Thx! 

1 Accepted Solution

Avatar

Correct answer by
Level 10

OK now I get it .....you can use the command:

xfa.datasets.data.saveXML("pretty")

Paul

View solution in original post

0 Replies

Avatar

Level 10

Yes ...use the command xfa.host.exportData("", false);

Paul

Avatar

Level 3

Thanks Paul

But this is not exactly what I need.

I need to do something like:

var xml= xfa.host.exportData("", false);

and not really export the XML.

¿Is possible? ¿any idea?

Thanks!

Avatar

Correct answer by
Level 10

OK now I get it .....you can use the command:

xfa.datasets.data.saveXML("pretty")

Paul