812
Views
8
Comments
Can I limit the file size in an Upload widget?
Question
Application Type
Reactive

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 

Regards,

Komal

Champion

Hi Yizuhi,

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!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.