I would like to confirm what is the expected behavior when using the perspective file upload component to handle multiple files. With the scripts below it seems that only one file every ends up in the holding variable even if I have drug multiple files in to upload.
Do I need to be appending to the data holder when handling more than one file?
The event script on the component file received event
filename = event.file.name
filedata = event.file.getBytes()
self.view.custom.fileName = filename
self.view.custom.filedata = filedata
The files are temporarily held in a view custom property
Thanks,
Nick