Hello,
I've created a simple form using LiveCycle Designer with repeating subforms.
I can create xml files with data for our students.
I can manually merge an xml file with the PDF form (using acrobat menus to import form data) to create a form with a students data, and email that to a student. The form has a button to email back the xml data from the form after they have udated the data and that seems to work fine.
Now I need to do that for 900+ students...
I've used the acrobat api/com objects in VB to work with PDF forms (adding, removing, replacing pages mostly). What I'm hoping is that there is a way to use vb to:
Open my template form
Load/Import a student's xml data file.
Save the form with a student specific name.
repeat....I have code to handle mailing the filled in forms to each student.
At this points it is how to load/import a students data that I am stumped. I'd like to do this using VB or VBA. Will consider Java.
At the moment we are using acrobat 7.0 and LiveCycle 7.0, but we are upgrading to 8.0 or 9.0, as we would also like to extend the reader rights to allow them to save their forms after updating the forms data with reader.
Thanks for any help!
There are few options, which You can use. I developed almost all of them, so I know pros and cons of them:)
1) Using COM object - I didn't do data merge with this but it was always painful for me
2) Writing a plugin for Acrobat - very powerful, but You need time for this
3) Using Javascript and some tricks (e.g. add something in windows registry) - very useful and usually fast. Unfortunately there are lot of problems with debugging.
4) Using XDP files - basically You send XML instead of PDF files. You put PDF on WWW server and link to it from PDF. I'm not sure how XDP files works in Adobe Reader 7 but in 8 and 9 they work very good.
If you need more help or would like to see some demo, I can prepare it for You. I'm sorry for self-advertising but I'm looking for job:) So if you need a consultant or prefer to outsource this project please write me. I can do this for You.
Regards