Good day,
I am looking for a way to configure the what the search results or matches for look like in the Field Maps app. Specifically the matched results of the hosted feature layers used within the map.
When configuring a general Web App, there is the ability to configure the Search widget settings. So when you search it will display the attribute you selected in the configuration.
Is there something similar to this for the Field Maps app? Since currently when I search within feature layer, the suggestions only show the source name of the match it found.
I appreciate the help with this!
In Map Viewer, you enable popups on the layer being searched, and set the title field to the field you want displayed as search result.
Once saved, you can even disable the popups, and Field Maps App will still honor the Title field setting in the search results.
R_
Above answer seems to be outdated. Here is a recent blog post on the topic: https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/configure-search-maps-apps/
Step 1 — Sign in to your ArcGIS account and save the map.
Step 2 — Open the map item details and click Settings.
Step 3 — Scroll down in settings to locate the Application Settings section. Check the By Layer box to enable search using a map layer.
Step 4 — Complete the Application Settings.
(a) – Enter the hint text. This is the string that will be displayed when search is used.
(b) – Choose the layer and and search field from the drop-down. You can also choose from Contains or Equals for applying the search string.
When finished, click Save.
Step 5 — Open the web map and use search. The search tool displays the newly added layer attribute search along with the default ArcGIS World Geocoding Service (unless your organization has configured a custom locator). The default is to use All locators when searching.