Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Working with Attachments

Avatar

Not applicable
Hello,



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.



Thanks.
2 Replies

Avatar

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.



Jasmin

Avatar

Not applicable
Thank you again for you quick reply!



That works great!