Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for Show only | Search instead for Did you mean:/t5/acrobat-sdk-discussions/acrobat-form-data-export-as-xml-add-button/td-p/10340758 Feb 16, 2019 Feb 16, 2019
Copy link to clipboard
Please help - trying to create action button on PDF page - need to export form data to XML not FDF
exportAsXML(); - nothing happens .
exportAsFDF(); - exports OK but cannot import to my Excel XML map/scheme
Acrobat SDK and JavaScript Community guidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
6 Replies 6 Community Expert ,/t5/acrobat-sdk-discussions/acrobat-form-data-export-as-xml-add-button/m-p/10340759#M14978 Feb 16, 2019 Feb 16, 2019
Copy link to clipboard
exportAsXML doesn't work because it doesn't exist.
You can export to XFDF file (using exportAsXFDF), which is an XML representation of the form data.
Community guidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,/t5/acrobat-sdk-discussions/acrobat-form-data-export-as-xml-add-button/m-p/10340760#M14979 Feb 16, 2019 Feb 16, 2019
Copy link to clipboard
thanks for your trouble, but I can only import XML not XFDF into my MS-Excel schema/map
currently I have to go to Acrobat's menus - More Form Option --> Export Data --> select XML as type
a bit cumbersome for my office staff
was hoping for a javascript that does the same
Community guidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Expert ,/t5/acrobat-sdk-discussions/acrobat-form-data-export-as-xml-add-button/m-p/10340761#M14980 Feb 16, 2019 Feb 16, 2019
Copy link to clipboard
There's no built-in function that does that, but you can write one.
Community guidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,/t5/acrobat-sdk-discussions/acrobat-form-data-export-as-xml-add-button/m-p/10340763#M14982 Feb 16, 2019 Feb 16, 2019
Copy link to clipboard
not my forte, thanks, hopefully someone will save the day
1 1 Upvote Community guidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Expert ,/t5/acrobat-sdk-discussions/acrobat-form-data-export-as-xml-add-button/m-p/10340764#M14983 Feb 16, 2019 Feb 16, 2019
Copy link to clipboard
Take a look here, it mentions a package named XFDF2XL, which seems to do what you need. Look for message #12:
I’ve not used it, don’t know anything about it, but it came up in a Google search.