Multiple Attachments Upload 6.2 | Community
Skip to main content
dVd3189
Level 2
Feb 20, 2018 4:58 PM UTC
Solved

Multiple Attachments Upload 6.2

Hello everybody. I have an issue.

I'm working in 6.2 and my client want something that let the customer to upload multiple files together.

I saw there is upload form from AeM, but it allows only 1 file.

How can i achieve this?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Feb 22, 2018 7:31 PM UTC

After talking to out TOuch UI expert - they stated:

Basically you need a multfield for fileuploads…. Following is a sample for images (which are basically files too)

http://experience-aem.blogspot.com/2016/06/aem-62-touch-ui-composite-image-multifield.html

6 replies

Level 2
Jun 13, 2018 9:41 AM UTC

Hi smacdonald2008

I want to upload 2 images using fileuoload in aem 6.4. I found only one fileReference created in content. Is there any other solution to store 2 images using fileupload(not multifiled) in single dailog.

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Feb 22, 2018 7:31 PM UTC

After talking to out TOuch UI expert - they stated:

Basically you need a multfield for fileuploads…. Following is a sample for images (which are basically files too)

http://experience-aem.blogspot.com/2016/06/aem-62-touch-ui-composite-image-multifield.html

Translate
dVd3189
dVd3189Author
Level 2
Feb 21, 2018 8:01 PM UTC

Do you mean something about this?

Uploading Files into the JCR with a Swing Application

Translate
smacdonald2008
Level 10
Feb 21, 2018 6:09 PM UTC

I am checking with our Eng team. I have either used it 1 file (via the Granite type) at a time or in batch mode. THat is - when i want to upload a lot of files (ie - jpg files) to the AEM DAM - i use the custom SWING APP - which works great!

Translate
dVd3189
dVd3189Author
Level 2
Feb 21, 2018 8:44 AM UTC

No, actually this is my case. That's the editor mode, and i added the component "upload" from form by drag and drop.

It allows to upload 1 file at time.

I need something to let it attach multiple file at time.

As a user i expect to attach maybe 3 cvs, or 2 pdf. Something like this.

(We don't know where the files will be saved, so i dont know how to proceed further. Right now, i just need to create the front-end part)

Translate
smacdonald2008
Level 10
Feb 20, 2018 8:29 PM UTC

If your requirment to to get multiple files to AEM JCR -- then write a custom tool that reads a list (in this example - its XML) and uploads to AEM. Something like this -- http://scottsdigitalcommunity.blogspot.ca/2013/10/automating-process-of-uploading-digital.html

Scott's Digital Community: Automating the process of uploading multiple digital assets to the Adobe Experience Manager D…

There is also a video you can watch.

Translate