Skip to main content
Participant
October 22, 2021
Question

Data in XDP Files not being read in Acrobat DC Pro

  • October 22, 2021
  • 2 replies
  • 1018 views

I have an XDP file that is generated by my website.  The file opens fine in Acrobat XI Pro with all the data populated in the correct form fields.  In Acrobat DC Pro, however, the form displays correctly but the data is not populated.  Is there a setting somewhere that is causing this issue?

 

The XDP file is XFA formatted as follows:

 

 

 

<?xml version="1.0" encoding="UTF-8"?>
<?xfa generator="XFA2_4" APIVersion="3.6.14118.0"?>
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" uuid="26a94776-07be-434b-ae26-1d006a5e7bf4">
    <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
        <xfa:data>
            <Form>
                <dataField>data</dataField>
                <moreDataFields>more data</dataField>
                <Etc/>
            </Form>
        </xfa:data>
    </xfa:datasets>
    <pdf xmlns="http://ns.adobe.com/xdp/pdf/">
        <document>
            <chunk>Base64 encoded form data...</chunk>
        </document>
    </pdf>
    <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
        <annots/>
    </xfdf>
</xdp:xdp>

 

This topic has been closed for replies.

2 replies

Participant
November 4, 2021

The setting I suspected of being at play is "Protected Mode"; it is not an issue with Acrobat versions.  With protected mode enabled, it treats the data as not being trusted and won't load it.  Pressing "Enable all Features," if that warning pops up, doesn't change anything.  If you reference an external PDF, however, and that PDF is in a trusted location, it WILL also load the data.

Participant
October 22, 2021

I just saw the typo in the post, but I don't know how to edit it...  it says </datafield> instead of </moreDataFields>

That is obviously a typo in the post and not the actual file.