Issues with updating Geopoint Coordinates using Geocode Field

417
2
Jump to solution
05-25-2023 02:09 PM
EfeU
by
New Contributor II

Hi Geonet,

Is there a way to update a geopoint location using a "geocode" field from the inbox (I'm using existing feature service)? I have also additionally x,y coordinate fields that pull the info from geocode field using pulldata function. 

Submitting a new survey works without a problem populates the fields with the x/y coordinates and add the point where it needs to be but if I were to update the existing feature from the inbox, geocode fields update itself without a problem, but the actual location of the point doesn't change and additionally x,y coordinate fields which pull the x/y info from geocode doesn't update with the new address as well.

What am I missing?

Thanks,

Efe

0 Kudos
1 Solution

Accepted Solutions
ZacharySutherby
Esri Regular Contributor

Hello @EfeU

Since you are editing existing data you will likely need to add calculationMode=always in the bind::esri:parameters for the X/Y question(s) as well as the geopoint question. The way Survey123 behaves by default is it won't automatically recalculate a perceived user entered value as we are not sure if the correct value is what is recalculated or what the user had entered. 

Thank you,
Zach

View solution in original post

0 Kudos
2 Replies
ZacharySutherby
Esri Regular Contributor

Hello @EfeU

Since you are editing existing data you will likely need to add calculationMode=always in the bind::esri:parameters for the X/Y question(s) as well as the geopoint question. The way Survey123 behaves by default is it won't automatically recalculate a perceived user entered value as we are not sure if the correct value is what is recalculated or what the user had entered. 

Thank you,
Zach
0 Kudos
EfeU
by
New Contributor II

Hi @ZacharySutherby ,

Thank you for checking this out! Unfortunately, I've already tried calculationMode=always in the bind::esri:parameters for the X/Y question(s) as well as the geopoint question (please see the screenshots below).

EfeU_1-1686142250482.png

To give a bit more details please see the screenshots below. The very first screenshot shows the existing information of a feature in the inbox (1). When I try to update the location using geocode field (address), unless I click the little refresh button (it appears as soon as I start typing the new address) by the geopoint field (highlighted in the screenshot 2), the coordinates stays the same as the existing coordinates.

EfeU_3-1686142796264.png

Since, my plan to hide the geopoint field for the end user for simplicity, how can I do this refresh in the xls form?

Thank you!

 

 

0 Kudos