Did URL Parameter searches stop working in AGO?

532
4
09-19-2018 12:47 PM
larrycamp
New Contributor III

This app uses the URL search param to select & zoom to a specific route based on the ID number. The end of the URLs below show this as "&ID=6673" for example. If you take that off, the app will zoom correctly to the default extent. 

When I enter these URLs now, it zooms to some far away place, not to the specific location. Did an update to AGO change this behavior? I checked the app configuration and all looks good in there.

http://vdot.maps.arcgis.com/apps/View/index.html?appid=c4fa0decb88e49febc10a490221cb267&ID=6673 

http://vdot.maps.arcgis.com/apps/View/index.html?appid=c4fa0decb88e49febc10a490221cb267&ID=7059 

Tags (2)
0 Kudos
4 Replies
larrycamp
New Contributor III

After opening a Support Case it was learned that this was only working incorrectly on a few features. Others were zoomed to correctly. Couldn't find anything wrong with the data, but woke today with visions of "Check Geometry" and "Repair Geometry" tools in my head. Before running the tools, decided to check in AGO one more time to make sure they are still in need of a fix. They were not. All of the problematic features were now being zoomed to correctly, though it took a browser cache clean on Chrome to display correctly.

0 Kudos
AndrewHargreaves2
Occasional Contributor III

I'm now facing this issue -the below won't work despite having the search setup:

https://mywachswater.maps.arcgis.com/home/webmap/viewer.html?webmap=e74a8b4bb8304a5b80e3fb07229fd4c7...

0 Kudos
ChrisWhitmore
Esri Regular Contributor
AndrewHargreaves2
Occasional Contributor III

Thanks Chris Whitmore‌ - I was all tied in knots. To those reading this and struggling with how to search for features with '&' in their search fields such as "SW 3RD ST & SW 5TH AVE.PDF" replace it with the HEX equivalent, in this case '%26'. AGOL does this for spaces but not Ampersands. So:

...&find=SW%203RD%20ST%20&%20SW%205TH%20AVE.PDF

becomes

...&find=SW%203RD%20ST%20%26%20SW%205TH%20AVE.PDF