Select to view content in your preferred language

Does the search in map work "by layer" for Survey123?

541
3
12-12-2024 04:00 AM
PanGIS
by
Frequent Contributor

Hello!

I set up a search in map by layer and I would like the user to search for a particular property in case he is filling the survey when not on site.

It is already set up and the only thing i see is the address, which is disabled in my settings.

(then I read "use in ArcGIS Collector" "use in  ArcGIS Field Maps" only.

If not possible, would  the search at polygon work by typing a property number and the point on map is created?

Thanks!

PanGIS_0-1734004513358.png

 

Tags (2)
0 Kudos
3 Replies
RyanUthoff
MVP Regular Contributor

This might be what you're looking for, or at least point you in the right direction: Survey123 Tricks of the Trade: pulldata("@layer") - Esri Community

If you go to the Advanced techniques with pulldata("@layer") section, you will see that Esri provides a sample called Query a Feature Layer. You can download this form in S123 Connect and it contains a lot of examples of querying feature layers.

I'm not exactly sure what your end goal is, but this should allow you to be able to search through feature layers in S123.

PanGIS
by
Frequent Contributor

Yes, I was referring to this article, but while I have already implemented some of the solutions there, I am not sure if I can type/select a property No from a list and have the corresponding polygon selected (or a point in the centroid, actually), this would be my goal.

 

0 Kudos
ChristopherCounsell
MVP Frequent Contributor

Can you clarify your workflow? Post is about field maps but you've put it on the Survey123 board.

Assuming you are using Field Maps and want to search for a polygon in the map, which would then launch a survey form from the pop-up:

  • Go to the map > item details > settings
  • add layers and fields to map search settings 

However I can see you've already done this for the map. So in field maps you should be fine to search for property numbers on this map. This won't impact survey123 at all, just the web map and applications that leverage the map.

If you are filling out the survey form directly you could use the search appearance to find existing property numbers and then use pulldata @ layer to get related data including location.

https://community.esri.com/t5/arcgis-survey123-blog/dynamic-choice-lists-using-search-appearance/ba-...

Another approach is to use Field Maps and a custom url scheme to collect related records. You create a feature service with a polygon table (property) and non spatial related table. Then create the form targeting the related table, and launch it from the map pop-up, passing parentglobalid and other values into the site form. You could set point geometry on this table if you wish.

0 Kudos