Find webmap portal items by using a search term.
Portals can contain many portal items and at times you may wish to query the portal to find what you're looking for. In this example, we search for webmap portal items using a text search.
Click 'Search maps' to search public maps. Click 'Get my maps' to connect to a Portal and show your maps.
- Create a new
Portal
and load it. - Create new
PortalItemQueryParameters
. Set the type toPortalItem.Type.WebMap
and add the text you want to search for. - Use
portal.FindItemsAsync(params)
to find matching items.
- Portal
- PortalItem
- PortalQueryParameters
- PortalQueryResultSet
keyword, query, search, webmap