Automate the conversion of the XFA PDFs to standard PDFs with form fields | Community
Skip to main content
manu-gupta
Level 4
Nov 15, 2021 12:00 PM UTC
Solved

Automate the conversion of the XFA PDFs to standard PDFs with form fields

Hi members

We are having XFA based forms developed using Designer 6.5 and also we need to source it other channel as Standard Acroform PDF, we tried converting flat to acroform using Prepare form option in Acrobat Professional, but it is not retaining original field names of XFA.

Any pointers

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Mayank_Tiwari
Mayank_TiwariAccepted solution
Employee
Nov 16, 2021 4:27 AM UTC

3 replies

Mayank_Tiwari
Mayank_TiwariAccepted solution
Employee
Nov 16, 2021 4:27 AM UTC

Have you tried this programmatically as given here:

https://blog.aspose.com/2020/03/31/acroforms-vs-xfa-forms-convert-xfa-to-acroforms-in-pdf/

 

Translate
manu-gupta
Level 4
Nov 18, 2021 12:59 PM UTC

Aspose jar is a paid solution and the jar they share is used for just development, production version require licensing.

Translate
Pulkit_Jain_
Employee
Nov 15, 2021 12:40 PM UTC

@manu-gupta 

This old thread provides multiple solutions  to convert XFA form to Acroform but the field name discrepancy seems to be an issue.

Quoting one of the responses "XFA PDFs contain an AcroForm dictionary at the Cos level, but they are not accessible in the same way as AcroForm fields are"  - this could be the reason why.

Translate