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

Acquiring Values From External File

todd4foot1
Registered: Nov 29 2008
Posts: 7

I am using Acrobat 9 Standard.

Is there a way that I can include a button on a from, that will have Adobe Reader Rights Extended to it, that when clicked, will populate a specific field with a value contained in an external file? The external source could be as simple as a text file, or even a table in an MSSQL database, or an Excel spreadsheet. A solution using any type of data source would be welcome.

Thank you for any and all assistance that can be provided.

My Product Information:
Acrobat Standard 9.1.1, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Yes, if it's a text file and the PDF has file attachment rights enabled, you can import it as a DataObject and then read its contents into a string. Start researching it with the importDataObject method.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com