Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

How to get Attachments in AEM Forms OSGi

Avatar

Level 1

Hi,

we would like to get Attachments from a PDF.

In the former LiveCycle api we use FormsServiceClient.processFormSubmission to get a FormsResult, which has the method getAttachments.

Now in the new Api of FormsService (AEM Forms API) there isn't a equivalent method to processFormSubmission

Is there a sample of getting attachments with the new AEM6 forms or any documentation about this?

Thanks for any help!

Raúl

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

raul.fuente

What is the use case?

how is the PDF being submitted?

if you are submitting PDF which has attachments you can extract the attachment using assble service

View solution in original post

3 Replies

Avatar

Level 10

We asked the ENg team to look here.

Avatar

Correct answer by
Employee Advisor

raul.fuente

What is the use case?

how is the PDF being submitted?

if you are submitting PDF which has attachments you can extract the attachment using assble service

Avatar

Level 1

Hi,

I have been reading the Assembler Service and DDX Reference and now I am capable of extract the attachments with it.

Thank you