Skip To Content

Configure feature search

To make it easier for users to locate features within your map, you can configure specific layers within your map to be searchable. For example, you could enable search on your parcel layer so users can find specific parcels. Users select the parcel layer in the search box drop-down menu, enter the parcel ID they want to find, and the map zooms to the parcel and shows a pop-up (which you can configure). Hosted feature layers and ArcGIS Server feature and map service layers with Query enabled are searchable. In the layer, all string and integer fields that do not have coded domains are searchable.

  1. Verify that you are signed in and open the saved map you want to configure for feature search.
  2. On the side pane, click the About button About to display the map's details.
  3. Click More Details to go to the map's item page. Alternatively, you can open the item page from My Content.
  4. Click the Settings tab on the item page.
  5. Scroll down to the Application Settings section under Web Map Settings.
  6. Expand the Find Locations setting if it is not already expanded and check the By Layer check box.
  7. Click Add Layer.
  8. Choose a layer from the drop-down menu.

    Hosted feature layers and ArcGIS Server feature and map service layers with Query enabled are searchable (and therefore appear in the drop-down menu). For example, if you are publishing your feature data from ArcMap, you can enable the Query operation through the Service Editor. See ArcGIS Server help for more information.

  9. Choose an attribute field in the layer.

    For a field to be searchable (and therefore appear in the drop-down menu), it must contain strings or integers and not use a coded domain. Integer fields only support the Equals condition. For the best search results, choose a field with unique values.

  10. Choose whether the result should contain or be equal to the search terms.
  11. Enter hint text that will appear in the search box when the user selects a layer to search in. The same hint appears for all your searchable layers.
  12. Repeat the steps to enable search on additional layers.
  13. Click Save.

Your map now has feature search enabled. Others can use the search box at the top of the map viewer to find features within the layers you've configured. To do so, they click the drop-down arrow in the search box and choose a layer from the drop-down menu. The hint text you entered will be displayed in the search box. Once their keywords are entered into the search box, the map will zoom to the located feature and a pop-up with any available attribute information will be displayed.