Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to distinguish dynamic and static XFA

New Here ,
Jun 09, 2022 Jun 09, 2022

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

TOPICS
PDF forms
1.4K
Translate
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
Community Expert ,
Jun 09, 2022 Jun 09, 2022

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

Translate
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 ,
Jun 09, 2022 Jun 09, 2022

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

Translate
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
Community Expert ,
Jun 09, 2022 Jun 09, 2022

Try the Acrobat SDK forum, then.

Translate
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
Community Expert ,
Jun 09, 2022 Jun 09, 2022

And make sure to mention what language you're using...

Translate
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
LEGEND ,
Jun 09, 2022 Jun 09, 2022
LATEST

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...

Translate
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