multipart-upload-reactive
Reactive icon

Multipart Upload Reactive

version 0.1.0 (Compatible with OutSystems 11)
Uploaded
 on 7 Jul (8 hours ago)
 by 
5.0
 (4 ratings)
multipart-upload-reactive

Multipart Upload Reactive

Details
Enables uploading large files using multi-part upload
Read more

This component implements multi-part upload to support large file handling. We use JavaScript to split large files into chunks of 10MB and upload them to a temporary table. Then, the chunks are merge together using Binary Concat and put to another table. After that, the file can be referenced by other apps through a File UID.

This component took inspiration and provide many improved functionalities from:

Release notes (0.1.0)

0.1.0 Updates

Fixes

  • Resolved JSON Upload Error: Fixed the 'Failed to parse JSON request content.' (Code: 400 Bad Request) error that occurred when uploading JSON files.
    • See this post for detailed error information and the implemented solution.


New Features

  • MultipartUpload_CSV Block:
    • Introduced a new block for uploading CSV files in multiple parts.
    • The block splits large CSV files into 10MB chunks, ensuring each chunk ends at a line boundary to preserve complete records.
    • Each chunk is concatenated with the CSV header to form a valid, small CSV file.
    • These smaller CSV files are then uploaded as parts to the database.


Improvements

  • Efficient Data Import:
    • The new CSV multipart upload process is ideal for data import scenarios.
    • By processing and uploading manageable batches instead of the entire large file at once, it improves reliability and performance during bulk data imports.

→ The MultipartUpload_CSV block is especially useful for importing large datasets, as it avoids memory issues and improves error handling by working with smaller, self-contained chunks.

License (0.1.0)
Reviews (3)
by 
08:25 (just now)
in version 0.1.0
Great work! This component solves a very common pain point in Reactive Web – uploading large files reliably.
by 
07:51 (34 minutes ago)
in version 0.1.0
The "Multipart Upload Reactive" component is an excellent solution for handling large file uploads in OutSystems. Its ability to split CSV files into 10MB chunks while preserving data integrity ensures smooth and efficient uploads. The fix for the JSON upload error reflects a strong focus on user experience. This tool is highly useful for applications dealing with complex file operations. Thanks!
by 
03:52 (5 hours ago)
in version 0.1.0
I have never used such a good forge before. Outsystems should consider including it in the default UI module. Thanks to Programmer Luong for creating this product
Team
Other assets in this category