These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Automation in acrobat

pkmiller
Registered: Oct 9 2007
Posts: 2

i want to populate a pdf form with data and images from a sql db by having the user enter a key peice of info. does acrobat have the functionality to do this? or is there a more suitable product available?

My Product Information:
Acrobat Standard 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You can write an Automation (folder level) JavaScript for this. Use the SOAP object for DB access. The SOAP object uses ODBC, so your DB has to be registered with this service. Here's an article on setting up folder level scripts.

[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/folder_level_scripts/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/folder_level_scripts/[/url]

Another way to do this is with the IAC interface. This is an ActiveX interface for controling Acrobat from an external application. Usually a VB program. The documentation is here.

[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]

Click on the documentatio tab and scroll down to "Interapplication Communication"

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script