Hi there.
I was wondering if there's a way to limit the size of the Image/File that the user can upload through an Upload widget?
Thanks in advance.
If you use this forge component you can set the MaxFileSize:
Hello Yizuhi ,
Is you can Limit while uploading, but it is not possible with outsystems Upload widget.You need to install the new Component Namely Reactive Multiple File Upload which is suggest by jose ,I also used that component , it is not mandatory.but it is not working with traditional.
Regards,
Akshay Deshpande
Hi Yizuhi,
Please go through this link,
https://www.outsystems.com/forums/discussion/69340/limit-size-for-upload/
May it help to solve your problem
Komal
In my case, in the screen actions, we can put a check using BinaryDataSize function as the following
BinaryDataSize(UploadWidget.Content) > (Site.FileUploadMaxSizeMB * 1000000)
Hope it helps
Where this BinaryDataSize function is available?
Regards
Thanks Again. I Found It!
where are you find it (BinaryDataSize function )?
https://success.outsystems.com/documentation/11/reference/outsystems_apis/binarydata_api/