Skip to main content
Participant
June 9, 2022
Question

How to distinguish dynamic and static XFA

  • June 9, 2022
  • 2 replies
  • 1507 views

Hello,

 

I am trying to programmatically determine if an XFA file is static or dynamic. I can convert the files to xml but I do not know what the flag to check for is. 

 

Thanks

This topic has been closed for replies.

2 replies

Legend
June 9, 2022

You just have to read the XFA specification, suss out the schema, and use an XML parser to check. Conceivably you can take shortcuts, but the place to start is the XFA specification. I think it may be optimistic to think someone here has already done the research on this...

try67
Community Expert
Community Expert
June 9, 2022

Read the documentation of the XFA object in the Acrobat JS API Reference file. There's an example there of exactly that.

Participant
June 9, 2022

I'm doing this in C#, that's why I need a string I can search for in the XML

try67
Community Expert
Community Expert
June 9, 2022

Try the Acrobat SDK forum, then.