Hi everyone,
I’m working on a mobile application in OutSystems and I need guidance regarding handling media files (images/videos).
My Use Case:
I would like to implement the following functionality:
Upload image/video from device gallery to my server
Download image/video from server to device
(Optional) Share image from gallery directly into my app
Could someone please guide me on:
What is the recommended approach in OutSystems for uploading images/videos from the gallery?
How can I store these files on the server (Database vs External Storage)?
What is the best way to download and save media files back to the device?
Are there any Forge components recommended for this use case?
I’m using a Mobile App (Reactive/Mobile) in OutSystems.
Dear Siva, In addition to the recommendation provided by the AI Assistant . For Data sync back from server to media device. I would recommend you to go through the below training video about different data sync patterns. https://learn.outsystems.com/training/journeys/mobile-developer-679/data-synchronization-overview/o11/1758It can help to understand how to implement 2 way synchronization pattern between client device and server Hope it helps Cheers, Praveen
#1 can use the built-in component of Outsystems or forge to achieve it
#2 use cloud storage or build the API for the mobile to call
#3 as @Praveen Kumar Natarajan recommended to use the data sync pattern of Outsystems, or API again to get back the data and saved to local.
#4 https://www.outsystems.com/forge/component-overview/1409/file-transfer-plugin-o11
Hello @siva kumar
For uploading images and videos from a mobile app, you can use the Camera Plugin or File Plugin to pick files from the device gallery.
If your files are large (especially videos), I recommend using the Chunk It Forge component:
chunkIT
Chunk It uploads the file in small parts, which makes the upload more reliable and prevents failures on slow or unstable networks.
For storage, small images can be stored in the database, but for videos and larger files, it’s better to use external storage like AWS S3 or Azure Blob.
For downloading and saving files back to the device, you can use the File Plugin.
It's correct!
Use Camera Plugin or File Plugin.
If large file, we will implement ChunkFile to upload and store file by AWS S3
Hello.
Implementing media handling in OutSystems mobile apps involves balancing user experience with performance. Since high-quality media files can be large, you’ll want to avoid overloading the application’s database.
The recommended approach depends on whether you are building a Native Mobile app or a Progressive Web App (PWA).
Database vs. External
Recommended: Store a small thumbnail in the OutSystems database for quick list views, and the original file in an external bucket like Amazon S3 or Azure Blob Storage.
To bring files back to the device from the server:
Recommended/Suggested Forge Components