I have a field that should read 5/8", but the forward slash in the middle is getting replaced with the "%2F" code.
Is there any way to make sure the attribute string gets passed properly?
Hi Eric
This is a known BUG: BUG-000107010 When fields are passed from a feature service to Survey123 for ArcGIS survey through custom URL scheme, URL encoding is not decoded in final survey result.
I will add you to it.
Thanks
John
My solution was to create a hidden field called MeterSize2 and then used an IF calculation on the MeterSize field (a note field) so it would display like I wanted it to.
if((${MeterSize2}='3%2F4 INCH'),'3/4 INCH',if((${MeterSize2}='5%2F8 INCH'),'5/8 INCH',if((${MeterSize2}='1 1%2F2 INCH'),'1 1/2 INCH',if((${MeterSize2}='1 1%2F2 INCH'),'1 1/2 INCH',if((${MeterSize2}='1 1%2F2 INCH'),'1 1/2 INCH',if((${MeterSize2}='1 1%2F2 INCH DISC'),'1 1/2 INCH DISC',if((${MeterSize2}='1 1%2F2 INCH DISC TOUCH READ'),'1 1/2 INCH DISC TOUCH READ',${MeterSize2})))))))
Alright, sounds good. I can deal with it for me.
On another note, I am getting ready to send this out on our iPads, and none of the attributes are making their way onto the Survey123 form.
All of these come in properly when I click my link in the web map on my PC, but when I move from Collector to Survey123 on my iPad, I get this.
Any idea what the problem might be?
EDIT: I figured it out. It was due to the capitalization in the field names. Once I capitalized the field names in the link in Collector, everything worked as intended.
Currently the only option is to download the data and perform and a find and replace to remove encoding characters (until we provide a fix).
Ok, thanks for the update!
Is there any way to work around it, or do I just have to wait for it to get fixed in a future update?
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.