Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Annotations and Attachments

Avatar

Level 1

Just as some background: At a high level, we are trying to allow users with Adobe Reader the ability to add attachments and have them sent across via a form button submit to a well known URL/server. We have determined (thanks to your engineering folks and our own investigation) that attachments or any extra data is sent when you use the XDP payload submit type. However, at the first glance you would think that simply adding the EF.* group of permissions (relating to attachments) would suffice. But it would appear that attachments need to be sent via annotations.

So in order to do this, we are setting the Annot.* usage rights on the document. The problem is when we open the document in Adobe Reader X (10.1.1) or Adobe Reader 8.1.0, annotations or comments are not permitted despite us inspecting the PDF and confirming the proper permissions are set (via PDFBox's PDFDebugger tool).

As a side note, the only Annot permission that appears to cause us problems during setting is Annot.Online. We get the following exception: IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0. Is this permission required to be able to annotate documents properly? We've been referring to the Developer's Guide and API and nothing indicates dependencies between usage rights.

Our code base is quite old (5 years old) and we are using Adobe LiveCycle Version 7.0 with Reader Extensions.

Any insights would be great.

1 Accepted Solution

Avatar

Correct answer by
Level 4

So you are a combination of cases 1 and 3.  There is good information out there to point you in the right direction.

Thom Parker, one of the Acrobat experts, did a great tutorial on this on Acrobatusers.com .

So watch this and then just make sure that the form has been reader-extended for Embedded File Attachments.

Questions about the use of file attachments and the javascript API are probably better asked on acrobatusers.com or in this Adobe forum. http://forums.adobe.com/community/acrobat/acrobat_scripting

And be warned that we have layered on functionality in each release and rebranded.  So what we started as the geeky "embedded data objects" became "PDF packages" and then had Flash added and is "PDF portfolios." But embedded data objeects are still in there as the lizard brain, and work back to 7.

View solution in original post

3 Replies

Avatar

Level 4

There are a few different scenarios for how you may be using Reader Extensions and Reader.  Let me lay them out and a bit of what may be happening in each case.  Then tell me which case is yours and we can go deeper.

  1. The form is a dynamic XFA form: Annotations, even file attachment annotations, are not possible on dynamic forms.  If you want to do attachments, then you need to use what was called embedded data objects back in 7.0.
  2. You are opening the form in a browser and submitting from there: Annotations are not allowed in the browser unless it is hooked up to a review server (in other words, the annotations do not go back with the form data). There are a few tricks around this, but browser-based review has been deprecated in A9 and X. http://acrobatusers.com/forum/collaboration-commenting/browser-and-shared-reviews-readers might be of help to you as well. You would also need to have a reader extensions credential that provides this right. It was an extra cost option in the 7.0 timeframe, but more recent credentials (try the current trial credential... I can tell you the URL if you have trouble on the trial page) will work with older servers... you may want to test this and/or wait for my special hints BUT this scheme is on its way towards obsolescence,
  3. You are using embedded data objects and have reader-extended the file with the embedded object rights (EFModify): This should be working. Note that you would need a tool like assembler to extract the data objects on the server: this was licensed separately in the 7.0 timeframe.

Avatar

Level 1

Thank you for the quick response, Chuck. We are using dynamic XFA forms that created in Adobe Designer. How would we go about using embedded data objects to facilitate attachments? Or if you have some literature on this, it would be great.

Thank you,

Mike

Avatar

Correct answer by
Level 4

So you are a combination of cases 1 and 3.  There is good information out there to point you in the right direction.

Thom Parker, one of the Acrobat experts, did a great tutorial on this on Acrobatusers.com .

So watch this and then just make sure that the form has been reader-extended for Embedded File Attachments.

Questions about the use of file attachments and the javascript API are probably better asked on acrobatusers.com or in this Adobe forum. http://forums.adobe.com/community/acrobat/acrobat_scripting

And be warned that we have layered on functionality in each release and rebranded.  So what we started as the geeky "embedded data objects" became "PDF packages" and then had Flash added and is "PDF portfolios." But embedded data objeects are still in there as the lizard brain, and work back to 7.