Traditional Multiple File Upload Widget.
Uses service actions to store the files in a temporary table. You can choose to save the files using DataURL or Binary data. All Standard file types are supported.
Uses service actions to store the files in a temporary table.
You can choose to save the files using DataURL or Binary data.
All Standard file types are supported.Please check the demo if you have any doubts regarding the implementation.
JS Script:
1. Get all the files uploaded by the user from the FileUpload widget2. Convert them into DataURL files3. Add them to a JSON array of file objects4. If all files have been processed: 4.1 Populate the FilesListJSON_input with the JSON string 4.2 Click the save files button to run the OutSystems side of the implementation
Update the length of the MimeType attribute to 250 chars.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types
https://stackoverflow.com/questions/643690/maximum-mimetype-length-when-storing-type-in-db#:~:text=According%20to%20RFC%204288%20%22Media,can%20be%20max%20127%20characters.