Import XML to pre-generated PDF FORMS

Guest
Feb 24, 2021 Feb 24, 2021

Copy link to clipboard

Copied

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

Views

82

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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!

Likes

Translate

Translate

Report

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