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

Import XML to pre-generated PDF FORMS

Guest
Feb 24, 2021 Feb 24, 2021

I am trying to import XML data into pre-fixed PDF form. The PDF forms are elaborate and have many named fields. An example of two named fields are "Consequence" and "Cause". So, for this example i will have an XML as following : 


<multiple>
    <Causes> leak </Causes>
    <Consequences> fire and explosion </Consequences>
</multiple>
 
How do i do import this XML into specific PDF form fields programatically? I would prefer Python however i am okay if it is JavaScript
TOPICS
Document Generation API , PDF Embed API , PDF Services API
402
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
New Here ,
Apr 07, 2021 Apr 07, 2021
LATEST

Hi,

 

Acrobat Javascript API is something that will be helpful for this. You can refer the method “importAnXFDF” in Acrobat API Reference document https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/js_api_reference.pdf for more details around this. 

 

Thanks!

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
Resources