Expand my Community achievements bar.

Including pdf uri when emailing xdp data

Avatar

Former Community Member

I'm trying to create an e-mail button which e-mails the xdp data along with a reference to the associated pdf.

The XML Forms Architecture Specification (3.1) says the following about the submit element:

The way I interpret it is that when Reader exports the xdp data to the e-mail application, it inserts the value of the xfdf-snippets f-tag into the xdp data's <pdf href=""> tag. So I went ahead and added (in bold):

<xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
   <f href="http://server/populate_me.pdf"/>
   <annots/>
</xfdf>

Needless to say I won't work. Upon filling out the form in Reader and clicking the e-mail button, the reference I'm getting in the exported xdp is:

<pdf href="populate_me.pdf" xmlns="http://ns.adobe.com/xdp/pdf/"/>

(what I want is <pdf href="http://server/populate_me.pdf" xmlns="http://ns.adobe.com/xdp/pdf/"/> )

I'd really appreciate some advice.

2 Replies

Avatar

Former Community Member

Minor bump here...

Is the fact that we cannot re-open form submissions a bug or an Adobe limitation? Or am I doing something wrong?

Avatar

Level 1

I believe the ability to create an XDP email attachment that would fetch the form was removed after Reader 9. It might have been for security reasons.

If you or someone else finds the answer to this one, I would appreciate it if you/they could send it to me.

In designer, we're using a button containing the following xml:

            <event activity="click">
               <submit textEncoding="UTF-8" xdpContent="pdf datasets xfdf xdp" target="mailto:"/>
            </event>

It used to work fine if the form that created the email attachment generated it while the Reader plugin was inside the browser window at the time the email was created.

Is the form at least populating the subject field of the email with the uri? Ours is, using the code above.