[File Upload] Multiple file selection option

[File Upload] Multiple file selection option

  
Forge Component
(17)
Published on 5 Sep by Carlos Alfaro
17 votes
Published on 5 Sep by Carlos Alfaro

Hi, Team

How do I set the component to allow for multiple file selection?

Regards,

Johan

Hi Johanvr,


You just need to set the extended property multiple in the upload widget:

https://www.screencast.com/t/71xtBRhG5wE


Thanks,

João Carvalho

João Carvalho wrote:

Hi Johanvr,


You just need to set the extended property multiple in the upload widget:

https://www.screencast.com/t/71xtBRhG5wE


Thanks,

João Carvalho

Hi João!

When set properties "multiple", I can select multiple file on screen.

But when I submit, I only receive first file.

How can I receive all?


Thanks


Hello Pham,

Sorry for the delay. If you open the widget, go to the screen TestFileUpload and set all the upload widgets with multiple you will see the feedbacks showing that all files are being sent.

If you are implementing a different handler, just follow the logic on the one inside the widget because that one already handles multiple files.


Thanks


João Carvalho wrote:

Hello Pham,

Sorry for the delay. If you open the widget, go to the screen TestFileUpload and set all the upload widgets with multiple you will see the feedbacks showing that all files are being sent.

If you are implementing a different handler, just follow the logic on the one inside the widget because that one already handles multiple files.


Thanks



Hi Joao,


Even I am facing the same issue. Came across your solution, but I am not clear.


Can you please elaborate? 

Where can I find TestfileUpload in the screen? set all upload widgets? 

I have only one upload widget, when I click that I should be able to upload multiple files. Please explain me with screenshots if possible

Hi Sahaduna, 

In my first response I attached a screenshot where you can see where to put the multiple. Please check it here: https://www.screencast.com/t/71xtBRhG5wE

Basically you need to add to your screen a standard upload widget + the file upload widget you have in the File Upload Component. The multiple property is set on the upload widget itself.

Hope this helps.


Thanks,

João Carvalho