Select to view content in your preferred language

Limit attachment size in Survey123 Connect

3230
5
Jump to solution
05-25-2021 05:15 AM
Svenja-ChristinLemke1
Emerging Contributor

Can I set a limit for the upload size and restrict users from uploading bigger files in a Survey?

As it is possible to upload other files than an image (PDF ...), we need to restrict the maxmimum file size of the  attachment. 

We are currently using ArcGIS Survey123 Connect, version 3.12.232.

Thank you for your answers.

 

0 Kudos
1 Solution

Accepted Solutions
DylanT_EsriCanada
Esri Contributor

Looks like you can unfortunately only limit the image size. Files will be accepted up to 10 MB. (https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformmedia.htm)

Update: looks like you can now limit file sizes using the bind::esri:parameters column and the max-size parameter

 

Link to documentation on this: https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformparameters.htm#ESRI_SECTION1_8E282...

 

 

View solution in original post

5 Replies
DylanT_EsriCanada
Esri Contributor

Looks like you can unfortunately only limit the image size. Files will be accepted up to 10 MB. (https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformmedia.htm)

Update: looks like you can now limit file sizes using the bind::esri:parameters column and the max-size parameter

 

Link to documentation on this: https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformparameters.htm#ESRI_SECTION1_8E282...

 

 

Svenja-ChristinLemke1
Emerging Contributor

Dear dtGIS, thank you for your answer. 

I hope that ESRI will include the possibility to limit the file size directly in the Survey Connect App in the future.

0 Kudos
DylanT_EsriCanada
Esri Contributor

Hi @Svenja-ChristinLemke1, I recommend posting to the Ideas page about this request for this functionality. 

0 Kudos
JackFanZhang
Regular Contributor

The answer in 2023 is you can use bind::esri:parameters column. For example, max-size=5 to set the limitation to 5mb

DylanT_EsriCanada
Esri Contributor

Thank you @JackFanZhang, I have now updated the solution to include this info

0 Kudos