Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Accessing a Web Service

Guest
Aug 12, 2017 Aug 12, 2017

I need to create a fillable form that contains a simple drop down list in a pdf document that obtains its values from a web service that returns a small xml document and populates this drop down accordingly. I have the following questions on this topic:

  1. It seems I can add interactivity with Javascript so is it safe to assume I can use Javascript to consume a web service for this purpose?
  2. I read something about being able to access web services using something called Lifecycle Designer (seems to be really old posts about LCD), is this really necessary if I can use straight forward Javascript?
  3. If this is possible with Javascript, will all users who access this document be able to use it with Acrobat Reader without any issue be it security or other or do all users require the full version of Adobe for such an action?
TOPICS
Acrobat SDK and JavaScript
267
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 14, 2017 Aug 14, 2017

I came across this post (XmlHttpRequest Support ) that says that there is no support for XMLHttpRequest in Acrobat JavaScript but this was dated way back in 2008 - does anyone know if this is still the case as this would be the Javascript means of accessing a web service?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 14, 2017 Aug 14, 2017
LATEST

You can execute a HTTP request in Acrobat using the Net.HTTP object and its request method. See the Acrobat JavaScript API Reference for more details.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines