Hi there, hoping someone can help me diagnose a problem I'm having with Instant Apps (Nearby template) in ArcGIS Enterprise 11.5.
When publishing a new Nearby instant app in our 11.5 production deployment, we're finding that the app doesn't function at all (see screenshot below): there is no search bar, zoom/home tools, or "Search this area" button. It sort of seems like the app never fully loads (map doesn't display either). When we test in our dev and stage environments, everything publishes and functions fine.
Has anyone experienced this type of non-functionality before, and/or does anyone know where I can start looking to resolve this? Also, do folks know if the underlying geocoding services would impact the functionality of this particular instant app template? That is a known difference between our prod and stage/dev environments; we have our own geocoding services set up in our prod environment, but stage and dev just use the default ArcGIS World Geocoding Service. All log locations (portal & server admin, server manager) show nothing related to this.
Last thing: when I use the developer tools in Chrome I am seeing some failure messages such as...
"Failed to load resource: the server responded with a status of 404 ()"
"RVKGKVXB.js:6 Uncaught TypeError: Failed to fetch dynamically imported module:"
"RVKGKVXB.js:6 Uncaught (in promise) TypeError: Failed to fetch dynamically imported module:"
I am terrible at interpreting these kinds of Chrome developer errors, so any insight here is appreciated as well.
Thank you for any help you can provide!
published Nearby app in Enterprise 11.5
@GrantSmith122 Can you check the map you are using in Map Viewer and verify that all layers and/or tables are loading as expected? Is the World Geocoding service the only locator you have set up in the organization setting or app? I did some testing with 11.5, and my Nearby examples are working.
Yep, the map is working fine, all layers and tables function well on their own.
World Geocoding is not the only locator we use. We have 3 total, and our primary/default geocoder is a more robust one for our specific state.
Can you share a screen capture showing the full console messages?
Sure thing, is this what you are looking for? The red boxes show the missing Home and Zoom Controls buttons + Nearby widget/slider
Ok thanks. One more question if you switch the url of your production app to another app like sidebar does that load the search tool? For example if your url looks like this:
https://www.arcgis.com/apps/instant/nearby/index.html?appid="appid"
switch it to
https://www.arcgis.com/apps/instant/sidebar/index.html?appid="appid"
It looks like, no, that does not allow the search tool to load. The home and zoom tools are still missing as well.
Ok sorry one more test. If you create a basic app and disable search but enable other tools like the legend or layer list does the app load correctly?
Yep! Everything functions correctly in a Basic app when search is disabled (or enabled). If I do the URL switch trick like you mentioned above, the Home and Zoom Controls stop working immediately.