Select to view content in your preferred language

Expression To Add Survey123 Point Data to Field List

671
12
Jump to solution
08-29-2024 09:52 AM
RichardPasquale
Emerging Contributor

I'm working with a Survey123 results layer (view).  I would like to add the lat/long-goepoint location data to the field list in Field Maps.   I notice that when I try to select the Field where the GEOPOINT data is recorded by the user {PlotCenter} this data field is not availble in Field Maps.

How to add geopoint location from survey to Field Map field list?

My intent is to call on the features (survey point) location data Lat/Long, to inform a new survey to use the same location data.

Ultimately using a Pop-Up link link this:

https://survey123.arcgis.app?itemID=a544e9f859e74716a9

 

6d143cbdc0c938&field:SUID={SUID}&field:PlotID={PlotID}&field:PlotCenter={PlotCenter}&field:DateCompleted={DATE_COMPLETED}&field:SampleType={SampleType}&field:TransectAzimuth={TransectAzimuth} 

RichardPasquale_0-1724950213465.png

 

RichardPasquale_2-1724950308305.png

 

0 Kudos
12 Replies
ToddW_stl
Esri Contributor

Glad you're making progress!  If geopoint is required, it will not let you submit unless a point is captured in the map for the geopoint question.  If you use mode=copy, the point should always be captured.  If geopoint is readonly, I don't think users will be able to clear it out (or move it).  You also shouldn't need to copy the X/Y fields, as the pulldata should pull it from the newly copied point's geometry.  You can set constraints on a geopoint question (also check out the "Empty values" notes on this page if you're attempting to pulldata/center on the X,Y from another point, instead of mode=copy).  For the select_one issue, have you set a default value AND the search() appearance?  I also would not hide the geopoint question if you're using the copy mode, as this may cause the new point to be null (0,0).

0 Kudos
RichardPasquale
Emerging Contributor

I'm interested in exploring the link you provided BUT 

RichardPasquale_0-1725559546173.png

 

I don't know what search() appearance is.  

When I looked it up (google) it looks like it's not offline capable... I'm using these services all offline.

I did change the appearance settings on five different select_one questions to see if the Horizantal appearance settings bug was keeping the URL from calling up and there was differing results based on what the apperance field was set to.

The value was sucessfull in being transfered from the FieldMap to the survey for a select_one question if the apperaance as set to minimal.

 

 

I'm getting of topic now, so i'm going to move this conve to a "Transfering select_one data from fieldmap to survey" thread, should I not get it sorted soon.

 

0 Kudos
ToddW_stl
Esri Contributor

Hi - I didn't realize this was an offline workflow, so that makes sense you won't be able to pulldata from a service via search() appearance.  I've updated the URL link above - sorry about that!

FYI - I see this new blog today that may be helpful to you.  Take maps offline in ArcGIS Field Maps

0 Kudos