Acrobat form data - export as XML - add button

Feb 16, 2019

Copy link to clipboard

Copied

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

TOPICS
Acrobat SDK and JavaScript

Views

148

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Acrobat form data - export as XML - add button

Feb 16, 2019

Copy link to clipboard

Copied

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

TOPICS
Acrobat SDK and JavaScript

Views

149

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 16, 2019 0
Feb 16, 2019

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 16, 2019 0
Feb 16, 2019

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 16, 2019 0
Feb 16, 2019

Copy link to clipboard

Copied

There's no built-in function that does that, but you can write one...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 16, 2019 0
Feb 16, 2019

Copy link to clipboard

Copied

You should be able to convert XFDF to whatever flavor of XML Excel expects with some XSLT transforms.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 16, 2019 0
Feb 16, 2019

Copy link to clipboard

Copied

not my forte, thanks, hopefully someone will save the day

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 16, 2019 1
Feb 16, 2019

Copy link to clipboard

Copied

Take a look here, it mentions a package named XFDF2XL, which seems to do what you need. Look for message #12:

Re: Export PDF form data to Excel?

I’ve not used it, don’t know anything about it, but it came up in a Google search.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 16, 2019 0