Skip to main content
Known Participant
January 15, 2025
Answered

Merging info from one PDF into another PDF

  • January 15, 2025
  • 1 reply
  • 922 views

Hello!

 

I have two PDF documents and the field names are exact. I would like to take information from the old document and merge it into the new template. Is there a way to accomplish this without cutting and pasting from the old document into the new one?

 

Some of the fields are interactive, texboxes and dropdowns. 

 

Thank you in advance for your help!

Correct answer PDF Automation Station

More clear instructions:

How to use the console.

  1.   Open the PDF containing the data.
  2.   Open the console and clear the console by clicking the recycle bin in the bottom right corner.
  3.  Run the script this.exportAsFDF();  A browse window should appear to save the FDF file.
  4.   Open the other PDF.
  5.   Run the following script in the console:  this.importAnFDF();  A browse window should open.  Select the file from step 3.

 

1 reply

PDF Automation Station
Community Expert
Community Expert
January 15, 2025

Run this script in the console to export an FDF file:

this.exportAsFDF();

Run this script in the other PDF to import the FDF file:

this.importAnFDF();

Known Participant
January 15, 2025

Thank you so much for the quick reply! 

 

I fear I have placed the code iincorrectly. 

1. I placed the coding as you stated on the "export" file and then typed coding on the "import" file. 

2. Both files now have the same code. But I did not type the same code. 

3. After initially typing the code I clicked the "green" button upper left in the console. 

Where did I go wrong? I attached images to hopefully help explain. 

 

Thank you so much for your patience. 

PDF Automation Station
Community Expert
Community Expert
January 15, 2025

More clear instructions:

How to use the console.

  1.   Open the PDF containing the data.
  2.   Open the console and clear the console by clicking the recycle bin in the bottom right corner.
  3.  Run the script this.exportAsFDF();  A browse window should appear to save the FDF file.
  4.   Open the other PDF.
  5.   Run the following script in the console:  this.importAnFDF();  A browse window should open.  Select the file from step 3.