Avatar

Level 2

Hi

We would like to import/export xml data (subtree) of a dynamic xfa form. The following script does only work with static AcroForms:

formular.content.subformDaten.Button1[1]::click - (JavaScript, client)

event.target.exportAsXFDF({aFields:["formular[0].content[0].subformDaten[0]"]});

With dynamic forms the script does export an empty xml file (no data is included, only xml root tag):

<?xml version="1.0" encoding="UTF-8"?>

<xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"

><f href="ExportTest_frei.pdf"

/><ids original="EA43F92A6B6EA34F9C4DBBC2DA0B1840" modified="6A7C6282A167594F91240B773AA979A7"

/></xfdf

>

Any ideas? Many thanks.

Best regards,

Daniel