Skip to main content
Participating Frequently
February 25, 2019
Answered

Call a value from a webapi

  • February 25, 2019
  • 1 reply
  • 552 views

Hello,

i want to call a numeric value from an api i created and assign it somewhere or compare it to other values. is this possible in pdf?

This topic has been closed for replies.
Correct answer George_Johnson

The most reliable method would be to set up the submit action so it submits to the web server at "HTML Form". To return a value to the form, the server would generate an FDF that includes the field name/value pair. When the response from the server is received by Reader, the field will be populated by the value in the FDF. This can work with a PDF viewed with Chrome's built-in PDF viewer as well.

1 reply

Legend
February 25, 2019

What is the interface to your web API? POST? SOAP? HTTP submit? Something else?

Will users expect to use this from a web browser such as Chrome or Edge? From a mobile device? Or just from Acrobat Pro? Or do you expect it to work with the free Acrobat Reader?

Participating Frequently
February 25, 2019

i wanted to build a simple http api, a simple get returning e.g. a number.

users should be using it in adobe reader dc. i am trying to implement it in adobe pro 2017.

George_JohnsonCorrect answer
Inspiring
February 25, 2019

The most reliable method would be to set up the submit action so it submits to the web server at "HTML Form". To return a value to the form, the server would generate an FDF that includes the field name/value pair. When the response from the server is received by Reader, the field will be populated by the value in the FDF. This can work with a PDF viewed with Chrome's built-in PDF viewer as well.