Skip to main content
Participant
April 25, 2025
Question

Flattening dynamic xfa to pdf

  • April 25, 2025
  • 1 reply
  • 312 views

Hello,
I'm currently using adobe PdfService Api.
I was planning to flatten my dynamic xfa by using compress and linearize, but I'm getting a following error at getJobResult():
"Exception encountered while executing operation ServiceApiError: Source file cannot be processed because of some restrictions."
"Status code:400, DOCUMENT_RESTRICTED"
Is it because PdfService Api can't take a dynamic xfa?
If so, what adobe api do I need to use to flatten dynamic xfa to a normal pdf?
If not, I want to know if there is a solution for this.
I will also post the error message I got.

With great regards,
Kim

1 reply

Joel Geraci
Community Expert
Community Expert
April 28, 2025

We currently have no APIs to convert Dynamic XFA to flat PDF. The only solution available from Adobe to do this is AEM Forms.