We have designed a huge LiveCycle Form using Adobe LiveCycle 7.1.
The form will be submitted by the clients using the Standard Email Submit Button, and the PDF Data will be attached to an Email which is sent to a pre-defined Address.
When the Emails are received by the Person in charge, he will save the Data Files each one with a unique name on a local folder.
When finished receiving all the Data Files by Email, he will use Adobe Acrobat Utility from the menu "Advanced/Forms/Create sheet from Data Files", and this tool will allow the user to select all the saved Data Files and it will convert them to CSV File as you may already know.
The format of the Data Elements on the PDF Form is very complex as it has many repeating elements (1-to-may relationship) such as the Applicant Data and list of his Experience, for example:
some name
1/1/1970
Some Organization 1
Some Organization 2
Some Organization 3
When converted such XML Data from the PDF into CSV, the result looked very complex, as the Repeating Elements were converted to columns with index counter. This is making it nearly impossible to write a program to work with such CSV Format and convert it to a Database Structure in the 3rd Normal Form.
Objective:
Write a program or some script to fully automate the extraction of the XML Data from the PDF Forms Files and convert it and store it in a Database Structure in the 3rd Normal Form.
Remember that we will have many files stored in the a folder which has PDF Files with XML Data Embedded in them.
Please help.
Regards ...
Tarek.
One option I found is using OLE or Acrobat IAC from .NET, but I am new to this area, and the project is very urgent.
We will accept professional service as the User in Charge confirm to me that they can contract with 3rd party developers to support us in that regard.
Any one can help will be appreciated.
Following is a quick spec of the required .NET program :
1. Enumerate through all the PDF Files in a given folder (based on Adobe LiveCycle Form),
2.For Each PDF File:
2.1. Extract the XML Data from the form,
2.2. Convert the XML String to XML Document,
2.3. Extract the single fields and repeating group of fields and update the Database,
2.4. Generate Key Values.
2.5. Send email Notification to the sender of the form, to confirm receiving the form and start initial processing.
Regards ...
Tarek.