How can I handle multiple files when using FilePicker?
I can now upload Attachment to Salesforce one file at a time but what if I "Allow selecting multiple files "?
How can I get the files from the file picker? Is there a documentation somewhere on this?
Nevermind I found out eventually.
filepicker.file becomes an Array if “Allow selecting multiple files” is enabled.
I can then use something like the following:
filepicker1.file[0].name
filepicker1.file[0].data
1 Like
ishi8
#3
I am not getting how we can handle both the index at a time(in case of 2) and then return the value