Editing Geometry And Run/Trigger Pulldata Calculation Again

294
1
Jump to solution
12-03-2023 02:48 PM
HenryKo2
Occasional Contributor

Hi, I have a survey that collects points, and for each point, I extract the latitude, longitude and other values with pulldata() and auto-populate other fields on the survey form. I'm using ArcGIS Survey123 Connect, i.e. XLSForm.

This works fine for new points.

But when I edit existing point geometry, i.e. moving to a different location, the latitude, longitude and other values do not get updated accordingly. It appears that the pulldata() calculation do not get triggered/fired/run.

Question: how do I update the these values when moving a point geometry?

As an example, here is the pulldata() function that extracts the latitude value:

round(pulldata("@geopoint", ${taxi_rank_point}, "y"), 6)

HenryKo2_0-1701643634054.png

 

0 Kudos
1 Solution

Accepted Solutions
HenryKo2
Occasional Contributor

OK, figured it out. Need to include calculationMode=always in the bind::esri:parameters field.

View solution in original post

0 Kudos
1 Reply
HenryKo2
Occasional Contributor

OK, figured it out. Need to include calculationMode=always in the bind::esri:parameters field.

0 Kudos