Attachment file size validation

  • 21 February 2017
  • 4 replies
  • 25 views

Badge +1

Hi, how to validate the total file size of the attachment control in Nintex forms 2010? Let's say 50mb. Thanks


4 replies

Badge +8

Hi Harvin,

I am not sure if there is any OOB Nintex way to get the file size of the attachment, (people can correct me here) .. I could think of couple options here ..

1) You could manage the file size restriction by setting the web App file upload property to 50 Mb. If this restriction is placed in SharePoint then Nintex will adhere it too.

2) Jquery does not have access to file system so I am not sure if you would be able to get any file size value for it, but you could use HTML5 as that has some file size property you could use, now again this would work only for newer verison of the browser and also you would not be able to use Nintex to customize your form.

Regards,

Shrini

Badge +1

Thanks ‌. I guess I'll go with option 1.

Userlevel 6
Badge +15

I believe that you can reduce the number found here:

Central Admin -> Manage Web Application -> Select Web Application -> General Setting -> Maximum Upload Size

By default, I think it's at 250MB.

Badge +6

Hi Harvin,

            please check this too calculated column to check file size(attachments) in sharepoint 2010  

Regards

Bashya Rajan

Reply