Select to view content in your preferred language

allowRename=false not working in ArcGIS Survey123 Connect?

118
1
01-13-2025 09:57 AM
ZACHARYSPENCER
Emerging Contributor

Hi, I'm using the documentation I found here and trying to disallow my users from being able to rename their attachments in Survey123 Connect. I'm pretty sure I have the syntax correct in the correct column based on the documentation, is there anything I may be missing, because I'm not seeing the rename capability being removed when I publish. Thanks in advance!

 

ZACHARYSPENCER_0-1736790990987.pngZACHARYSPENCER_1-1736791048439.png

 

0 Kudos
1 Reply
abureaux
MVP Frequent Contributor

I don't think that is valid for "file" questions? As per below, there is no field for the "name". After you set the name of the file on your desktop, you upload it, and it's static.

abureaux_0-1737042937067.png

More-so something for "image" questions. As per the below, you can see the file name, and edit it:

abureaux_1-1737042985938.png

abureaux_2-1737043013479.png

Unless specified otherwise (It doesn't LOOK different, but I promise you that clicking on the file name here does nothing):

abureaux_3-1737043062094.png

This "Image2" behaviour, of disallowing rename, was achieved with:

abureaux_4-1737043094564.png

Alternatively, you can use fileNameVisible=false in place of allowRename=false. Hiding the file name overides allowRename by simply removing the ability to interact with the file name all together.

0 Kudos