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

Batch import data from FDF files

New Here ,
Jan 29, 2019 Jan 29, 2019

Copy link to clipboard

Copied

I need import FDF data into PDF for several hundred files.

try67​’s simple script for export FDF (from post Batch Exporting FDF Files) was great for me, could anybody help me and create similar one for import?

The PDF and FDF file names are always the same (ex. 123.pdf, 123.fdf; abcd.pdf, abcd.fdf...).

I note I am not programmer. Thanks.

TOPICS
Acrobat SDK and JavaScript , Windows

Views

1.3K

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

correct answers 1 Correct answer

Community Expert , Jan 29, 2019 Jan 29, 2019

It's pretty much the same... Use this:

this.importAnFDF({cPath: this.path.replace(/\.pdf$/i, ".fdf")});

Votes

Translate

Translate
Community Expert ,
Jan 29, 2019 Jan 29, 2019

Copy link to clipboard

Copied

It's pretty much the same... Use this:

this.importAnFDF({cPath: this.path.replace(/\.pdf$/i, ".fdf")});

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
New Here ,
Jan 29, 2019 Jan 29, 2019

Copy link to clipboard

Copied

Óóóó, works great! Many thanks.

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
New Here ,
Jun 27, 2022 Jun 27, 2022

Copy link to clipboard

Copied

Good question but I need to do this from start. 
I have the PDF's and one FDF ready to be imported. What next?

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
LEGEND ,
Jun 28, 2022 Jun 28, 2022

Copy link to clipboard

Copied

You want resources for learning JavaScript, so you can create your own program?

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
New Here ,
Jun 28, 2022 Jun 28, 2022

Copy link to clipboard

Copied

Please let me know. I'm interested.

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 ,
Jun 28, 2022 Jun 28, 2022

Copy link to clipboard

Copied

Create an Action that executes the following JavaScript code, and then saves the file:

this.importAnFDF({cPath: "/C/Temp/FormData.fdf"});

 

Of course, adjust the cPath variable to the actual location of your FDF file, but use the same syntax as above.

Then run the Action on your files, and you're done!

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
New Here ,
Jun 28, 2022 Jun 28, 2022

Copy link to clipboard

Copied

Thank you.
I will have to work out the 'Create an Action that executes the following JavaScript code' first. 🙂

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 ,
Jun 28, 2022 Jun 28, 2022

Copy link to clipboard

Copied

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
New Here ,
Jun 28, 2022 Jun 28, 2022

Copy link to clipboard

Copied

LATEST

It took me a few hours to learn to play with this but well worth the time it will save me now. 
Excellent advice. Thank you 'try67' 🙂

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