Select to view content in your preferred language

Is it possible to configure URL parameters for search widgets to apply the selected address to the Near Me widget?

413
1
05-29-2024 05:45 PM
Labels (1)
faridehnodeh1
New Contributor

Hi 

I am creating an experience to show the nearest assets based on the address entered in a search bar. The experience consists of a search bar for the user to enter a location, a map that shows and zooms into that location, and three "Near Me" widgets that display the nearest features to the entered location (e.g., Elected members, parks, EV charging stations). Using the URL parameters, I can get the map to zoom into the location specified in the URL parameter, but it does not apply that location to the "Near Me" widgets, which remain blank. I am wondering if there is a way to trigger the "Near Me" widgets using the URL parameters?

I was not able to find the widget id for the Near Me widgets as they are not list in the manage URLs section.

Here is the URL for the Web app:

https://experience.arcgis.com/experience/d602640f91b647908308b6209a50a6a7

I am using the URL below to pass an address to the search bar:

https://experience.arcgis.com/experience/d602640f91b647908308b6209a50a6a7/#data_s=id%3Awidget_157_ou...search_status:%7B%22searchText%22%3A%22163%20St%20Vincent%20St%2C%20Port%20Adelaide%2C%20Adelaide%2C%20South%20Australia%2C%205015%2C%20AUS%22%2C%22status%22%3A%7B%22configId%22%3A%22config_0%22%2C%22magicKey%22%3A%22dHA9MCN0dj02NjIyYjk2NiNsb2M9MzQ5MzYxMTgjbG5nPTQxI2ZhPTM4MDEwODgjaG49MTYzI2xicz0xMDk6NzcwMTkwNTcjbG49V29ybGQ%3D%22%7D%7D&widget_160=active_datasource_id:dataSource_1,viewpoint:%7B%22rotation%22%3A0%2C%22scale%22%3A8043.928880336187%2C%22targetGeometry%22%3A%7B%22spatialReference%22%3A%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D%2C%22x%22%3A15418181.25525536%2C%22y%22%3A-4142734.0369547317%7D%7D

 

0 Kudos
1 Reply
kaifeiji
New Contributor II

I guess Near Me has not implemented URL-parameter-related features.

0 Kudos