Skip to main content
Participant
February 22, 2020
Question

how to convert pdf file to XML without opening the file or using save as or export

  • February 22, 2020
  • 3 replies
  • 3890 views

we have pdf files (pdf form) and we want convert to XML and store the data in sql table

 

example:  we have 100 pdf files per day , and want collect the data from PDF file(Pdf form) and write to sql table

 

as you imagen it is deficult to open and save as each file, so i hope there is a way to convert to xml without opening the tables..

 

 

This topic has been closed for replies.

3 replies

radzmar
Community Expert
Community Expert
February 23, 2020

That kind of automation isn't possible. Acrobat doesn't have a hotfolder feature nor can it delete existing files in the file system.

You possibly can develop such a solution yourself with the Acrobat SDK?! 

https://www.adobe.com/devnet/acrobat/documentation.html

radzmar
Community Expert
Community Expert
February 22, 2020

There are already a lot of tutorials available showing the how-tos.

Just google it or use the help documentation.

https://helpx.adobe.com/acrobat/using/action-wizard-acrobat-pro.html

https://www.evermap.com/ActionWizardDC.asp

 

Participant
February 22, 2020

Thanks Very much Radzmar,

but this envolve human action,

is a way can we do it by writting some codes... like powershell, jave, or will be nice to me if we do it from sql commands ..

or write some code for batch process running every night.

 

Just what I want is, 

run a program with following steps (it is proced evry night without humna intervension) 

1. convert to xml  all pdf files from specific folder  (always the pdf file is uploded to specific folder and the converted XML fill be saved in the same folder)

2. load the data from each XMLfile to sql table (loop until the last xml file)

3 and delete the processed pdf and xml  file.

 

Again Thanks for you time

 

Legend
February 23, 2020

This use would be a breach of the Acrobat license, I think. It’s for personal use. 

radzmar
Community Expert
Community Expert
February 22, 2020

Do you use Acrobat? Then you can use the Actions Wizard to create a batch action that will the work for you.

Participant
February 22, 2020
Can you send me the instructions and examples please

Get Outlook for iOS