Avatar

Correct answer by
Level 10

Yes, there is a better way to do this without Reader Extensions.

Ajax is not an option because it is not supported by Adobe Reader.

Here is the solution:

Write a REST based web service or just any Server Page which accepts query string and responds to the given query string.

Let's assume a Server Page http://myserver.com/EmployeeDetails?EmpId=1234 returns the employee details as a comma separated values.

This page can be called from within PDF using FormCalc

the syntax is

Note that if the web service or page requires authentication, a basic authentication dialog will appear when calling this method.

So better to allow anonymous authentication for the pages.

I implemented this approach in many projects and works great.

Hope that helps..

Nith

View solution in original post