center URL parameter stopped working

419
2
Jump to solution
05-03-2022 05:32 AM
ZoeBroek
Occasional Contributor

Recently my center parameter in my survey URL stopped working. This is a part of the URL: arcgis-survey123://?itemID=xx&field:callback={BOOMID}&center={LAT},{LON}&etc. 

LAT and LON are two populated fields I have in my feature layer which I want to use to set the location of the survey feature. Unfortunately this recently stopped working. I am familiar with this blog post Integrate with other apps—ArcGIS Survey123 | Documentation and with Survey123 Tricks of the Trade: Web form URL parame... - Esri Community

Maybe it's something in the question itself? Obviously when I set the center of the map to this point it gets those coordinates. Setting no default location gives me no location at all. 

ZoeBroek_0-1651580972930.png

 Does anyone have any ideas? 

- Zoë

 

0 Kudos
1 Solution

Accepted Solutions
RobertBorchert
Frequent Contributor III

Check to make sure all the lat lon have values filled in

View solution in original post

0 Kudos
2 Replies
RobertBorchert
Frequent Contributor III

Check to make sure all the lat lon have values filled in

0 Kudos
ZoeBroek
Occasional Contributor

Yup that's the solution. Some were missing. 

Thanks @RobertBorchert for the quick reply, helped me alot!

0 Kudos