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.

Working with Attachments


Former Community Member

I'm trying to find information about working with form attachments.

My understanding so far is there are two types of attachments,

'Task Attachments' and 'PDF Attachments'.

Currently, I am putting my attachments in the PDF, and submitting my form

as a PDF to preserve the attachments. I can't figure out how to extract the attachments from the submitted PDF. I see there is a processFormSubmission service, but I have not been able to figure out how

to set the input parameters correctly.

Specifically, were do I get values for

- Environment Variables

- User Agent

- and the various Submission Options

I'm very new to LiveCycle, and have been having a difficult time finding

information on working with Form attachments. Any pointers to

documentation would be appreciated.

2 Replies


Level 10
Just set the Environment Variables to CONTENT_TYPE=application/pdf

and use a variable of type List and sub type document to the Attachments property.

That should be all you need to set.



Former Community Member
Thank you again for you quick reply!

That works great!