Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

form data integration service. how attach file to a pdf

Avatar

Former Community Member

I'm testing the FormDataIntegrationService
to import data into a pdf form (XFA), and the result it is ok, now I need attach a word file,

how can I attach  a file to a pdf, using the reader extensions web service ?

pd: I know that it is posbible with forms service but for license purpose I need this with reader extensions service.

3 Replies

Avatar

Former Community Member

The Reader Extension service merely gives a Reader user the ability to attach a file through Reader. It does not actually add attacyhments for you. If you want to do that on the server you will need the Assember service. It requires that you create a DDX file for doing this. I thik it is under the Common category.

Paul

Avatar

Former Community Member

please, Could you give me an example of using Assember service for attachments(with DDX file).

Avatar

Former Community Member

Here is a sample DDX file

Attach data.pdf to doc2.pdf (document-level).

<PDF result=”doc2.pdf”>

<!-- attach file to doc1.pdf -->

<DocumentAttachment name=”data1”>

<file name=”data.pdf” mimetype=”application/pdf”/>

<description>additional data</description>

</DocumentAttachment>

<PDF source=”doc1.pdf”/>

</PDF>

Paul