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

Display image within Adaptive Form

Avatar

Level 7

 

Hopefully this is super simple and I'm just not seeing it.

 

We have an adaptive form that is using File Attachment to upload an image and it's submitted to a workflow.  We have an XSD bound to the form fields and file attachment.  All works well upon submission.  The file is uploaded and put into the relative payload to directory.  And, the filename is put into the bound field.

 

There is an assign task next, and we would like to display the image submitted and allow the user to change it.  Currently, simply binding the fields does not work.  

 

Any help for this simple use case would be appreciated.

 

Thank you,

Charles

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor
3 Replies

Avatar

Correct answer by
Employee Advisor

Avatar

Employee Advisor

@crich2784 so when you use attachment the file is persisted in the crx, now for your use case you just need to make a small component that can take the image that was uploaded and display on the page itself, right?