0
Import XML to pre-generated PDF FORMS

/t5/acrobat-services-api-discussions/import-xml-to-pre-generated-pdf-forms/td-p/11855441
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
New Here
,
LATEST
/t5/acrobat-services-api-discussions/import-xml-to-pre-generated-pdf-forms/m-p/11953038#M1545
Apr 07, 2021
Apr 07, 2021
Copy link to clipboard
Copied
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!
Acrobat products provide several ways developers can interact with Acrobat products. From the tried and true Acrobat and PDFL SDKs that have served enterprise for decades, to the new Document Services APIs that provide web-based opportunities for PDF manipulation, all SDKs provide docs, code ...
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

