My task is to develop a customized version of the search widget that displays query results in the popup window instead of the default behavior which is to display the returned top address match.
I've used this guide before to write queries in custom ArcGIS JS apps. When I reference the Query object in Widget.js of my customized search widget, I get this error in the console:
GET https://js.arcgis.com/3.36/esri/tasks/support/Query.js net::ERR_ABORTED 404
I think this is happening because Query was in a different location pre v4 of the JS API. But it begs the question, why does web appbuilder have a dependency on ArcGIS JS API v3.36? We've been developing in v4+ for years.