Not possible. If you want to read data from an external source it has to be a plain-text file, or another PDF.
Thanks for the reply. If I understood correctly...
1) Get the data from database & store it in a PDF/txt file.
---How do I achieve this on a parent PDF load everytime user opens it? Can I call a Windows console app to create this data file?
2) Populate the data from a pdf/txt file in a Stamp.
----How do I do? Any sample code is appreciated.
BTW, I tried ADBC with ODBC but didn't work!
1 person found this helpful
1) No, you can't call any external apps. This is something you'll need to do outside of Acrobat.
2) This is a complex scripting task, and there are various ways to approach it, each with is own advantages and disadvantages.
I can't provide sample code, but I can develop it for you, if you're interested.
ODBC support has unfortunately been removed since version X of Acrobat.
That would be great. Let me know if there is any cost involved before you spent any time on this!
How about calling a Web-service/API. Is it possible in XI Pro?
Yes. Take a look at this tutorial I wrote a while ago: Getting a Serial Number Into a Form Using SOAP - KHKonsulting LLC
This will only work with Adobe Acrobat, not the free Reader. If you are looking for a solution that also works with Reader, take a look at sending and retrieving FDF data.
Send me an email to try6767 at gmail.com and we could discuss it further, including the cost.
And yes, using a web-service is also a possibility, although that's quite complicated as well...