• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Acrobat form data - export as XML - add button

Community Beginner ,
Feb 16, 2019 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

682

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
community guidelines
Community Expert ,
Feb 16, 2019 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.

Votes

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
community guidelines
Community Beginner ,
Feb 16, 2019 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

Votes

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
community guidelines
Community Expert ,
Feb 16, 2019 Feb 16, 2019

Copy link to clipboard

Copied

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

Votes

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
community guidelines
Community Beginner ,
Feb 16, 2019 Feb 16, 2019

Copy link to clipboard

Copied

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

Votes

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
community guidelines
Community Expert ,
Feb 16, 2019 Feb 16, 2019

Copy link to clipboard

Copied

LATEST

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.

Votes

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
community guidelines
Community Expert ,
Feb 16, 2019 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.

Votes

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
community guidelines