For almost two years, we managed to create a map where the user clicks on a point, which opens a Survey123 form. The geopoint was set to read-only, and the URL had the center on XY coordinates (¢er={Point_Y},{Point_X}). It worked flawlessly.
Until recently this system became unreliable. Not only new surveys do not work, but older ones are having the issues. They often try to get to the user's location. Or just center somewhere near Los Angeles. Or in Null Island. In different computers and web browsers.
I figured out that the "¢er=" URL thing is not reliable anymore to add points on that location (despite always working that way). So I read a bit about the calculations for geopoints, but it still does not work.
Even by typing a coordinate on the default collum, for the geopoint field on the .xlsx form, (such as "48.858328 2.294513") , I get the message on the survey with no point selected:
- Can not find your location. Please check your browser to ensure that your location is shared
On top of that, there point And if I allow the location, then it points to my house.
I have then two questions:
Thanks for your help!
Solved! Go to Solution.
Thank you for this solution @IsmaelChivite . Is there any way that ESRI can give us a heads up of significant changes like this through a blog post before or right after updates? Luckily we were able to resolve this thanks to your help on a non-critical workflow but it could have been a big deal otherwise.
Hi @ahargreaves_FW ,
If the user has not clicked the locate button (below the home icon) manually, the warning message in your screenshot shows up because the geopoint question is designed to get the device location on loading the survey and it failed to get the device location (can be caused by various reasons).
You can disable this behavior by setting the default value of the geopoint question to null, just like the screenshot in Ismael's reply and still use the "¢er=<lat>,<long>" to set the location dynamically. Please find more information in this document https://doc.arcgis.com/en/survey123/desktop/create-surveys/geopoints.htm#ESRI_SECTION1_6B32C981BC5E4... .
@ZhifangWang thank you so much!
⭐⭐⭐⭐
Hello All,
I have been troubleshooting for a few days why a custom URL that works perfectly with surveys created in August with the Geopoint question using ¢er={POINT_Y},{POINT_X} is currently not working on a new survey (Created in Survey123 Connect 3.14.274). Same ¢er={POINT_Y},{POINT_X} is still working in the other surveys. Will the functionality stop if an edit is made to these surveys and I have to republish in this new version of connect? Note, the other fields specified in the same URL are being brought into the survey successfully.
I worked with an ESRI technician not more than a few months ago to ensure my URLs would work across all of the types of devices people have. This is the 5th time I have had to rework URLs (Currently managing 25+ surveys and web apps).
I am also getting the Location Inaccessible notification. This never came up previously. Previous surveys do not have a default value at null. I now have set the default to null as explained above. I am still getting the notification. They are also set to required and read only as specified in documentation. And on top of the notification, I am still not having the geopoint question work.
Help solving this will make my week so much better!
Thank you @Gustavo_Souza for asking the question, and @IsmaelChivite & @DougBrowning for working through these issues.
Cheers,
Jessica Thompson
I'm having the same issue as @ahargreaves_FW
I would really like my survey participants to be able to select a point from the map that has nothing to do with their current location.
Setting the default to 0,0 has worked ok for me.
I believe the key is setting the default value of the geopoint to null.
Hi @BrianRigwald ,
There is an additional "press-to-locate" value set in the appearance column for the geopoint question, this means "ask the device location when user answers this question". Leave the appearance column empty and set the default column as "null" will work: the device location is only asked when user clicks the locate button.
@ZhifanWang
Thanks! That did the trick! Now my 8th Graders will be able to put the places they have visited on a classroom map, without having to submit the survey multiple times. 🙂