Select to view content in your preferred language

Basic Instant App - Url Parameter 'Find' ignores searchable layers

97
2
6 hours ago
JustinOliver1
New Contributor

We have a Basic Instant App that's tailored towards showing development in Cary, NC. We've configured the search to first search the layers on the web map looking on the "Application Number" field.

The Search bar still shows the layers in the auto correct when using it. This can be seen by typing '26-A-06' in the search box. And clicking the result will zoom in on the feature. As expected.

However, the URL parameter Find seems to ignore the layers and falls back to the ESRI locator. When 'find=26-A-06' is appended to the URL, the map zooms into a different city. Prior to the June update, it would zoom in on the first result of the Annexation layer automatically, similar to using the search bar manually. This behavior is similar for the other layers on the web map.

Did the June update tweak the search/locator functionality? or is this unintended?

 

Default App url: https://carync.maps.arcgis.com/apps/instant/basic/index.html?appid=146a8ff9e620487d91bb34d500b29bac

App URL with 'find=26-A-06' appended: https://carync.maps.arcgis.com/apps/instant/basic/index.html?appid=146a8ff9e620487d91bb34d500b29bac&...

 

Any insight would be appreciated. Thanks!

0 Kudos
2 Replies
KellyHutchins
Esri Notable Contributor

@JustinOliver1  I did some investigating and tested this issue in the Basic app on prior releases and we see the same issue. In the application logic we create a new search that doesn't include any of the configured sources defined in the app only the default world locator.

We will work on adding support for configured search locators with the find parameter in a future release.

In the meantime you can configure Basic to use custom url parameters to add support for searching the Annexation feature layer. You'll find this setting in the Basic app configuration under Interactive > URL parameter. Just select the search layer and field and enable the "Show pop-up at start" option. 

0 Kudos
JustinOliver1
New Contributor

@KellyHutchins ok, thank you for digging into this. I'll reconfigure the app with a custom url parameter.

0 Kudos