Skip to main content
Das_Sunkara
Participant
March 16, 2017
Answered

How to pull data from database tables to use in a Dynamic Stamp (Acrobat XI Pro)

  • March 16, 2017
  • 1 reply
  • 1124 views

I need to prepare a stamp with data from a database dynamically. Please advise the best way to achieve this in XI Pro. Thanks!

This topic has been closed for replies.
Correct answer try67

Not possible. If you want to read data from an external source it has to be a plain-text file, or another PDF.

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
March 17, 2017

Not possible. If you want to read data from an external source it has to be a plain-text file, or another PDF.

Das_Sunkara
Participant
March 17, 2017

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!

try67
Community Expert
Community Expert
March 17, 2017

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.