<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Customizing web appbuilder widgets and queries in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/customizing-web-appbuilder-widgets-and-queries/m-p/1061773#M20881</link>
    <description>&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I've used &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html" target="_self"&gt;this guide&lt;/A&gt; before to write queries in custom ArcGIS JS apps.&amp;nbsp; When I reference the Query object in Widget.js of my customized search widget, I get this error in the console:&lt;/P&gt;&lt;P&gt;GET &lt;A href="https://js.arcgis.com/3.36/esri/tasks/support/Query.js" target="_blank"&gt;https://js.arcgis.com/3.36/esri/tasks/support/Query.js&lt;/A&gt; net::ERR_ABORTED 404&lt;/P&gt;&lt;P&gt;I think this is happening because Query was in a different location pre v4 of the JS API.&amp;nbsp; But it begs the question, why does web appbuilder have a dependency on ArcGIS JS API v3.36?&amp;nbsp; We've been developing in v4+ for years.&lt;/P&gt;</description>
    <pubDate>Wed, 26 May 2021 13:22:24 GMT</pubDate>
    <dc:creator>GeoSolver</dc:creator>
    <dc:date>2021-05-26T13:22:24Z</dc:date>
    <item>
      <title>Customizing web appbuilder widgets and queries</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/customizing-web-appbuilder-widgets-and-queries/m-p/1061773#M20881</link>
      <description>&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I've used &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html" target="_self"&gt;this guide&lt;/A&gt; before to write queries in custom ArcGIS JS apps.&amp;nbsp; When I reference the Query object in Widget.js of my customized search widget, I get this error in the console:&lt;/P&gt;&lt;P&gt;GET &lt;A href="https://js.arcgis.com/3.36/esri/tasks/support/Query.js" target="_blank"&gt;https://js.arcgis.com/3.36/esri/tasks/support/Query.js&lt;/A&gt; net::ERR_ABORTED 404&lt;/P&gt;&lt;P&gt;I think this is happening because Query was in a different location pre v4 of the JS API.&amp;nbsp; But it begs the question, why does web appbuilder have a dependency on ArcGIS JS API v3.36?&amp;nbsp; We've been developing in v4+ for years.&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 13:22:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/customizing-web-appbuilder-widgets-and-queries/m-p/1061773#M20881</guid>
      <dc:creator>GeoSolver</dc:creator>
      <dc:date>2021-05-26T13:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing web appbuilder widgets and queries</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/customizing-web-appbuilder-widgets-and-queries/m-p/1061785#M20882</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/201696"&gt;@GeoSolver&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;EM&gt;But it begs the question, why does web appbuilder have a dependency on ArcGIS JS API v3.36?&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;FYI, ArcGIS Web AppBuilder uses two different ArcGIS API for JavaScript libraries - one for 2D capabilities and one for 3D capabilities. 2D uses the JS API v3.x, while 3D uses the JS API v4.x.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please see this help topic, &lt;A href="https://developers.arcgis.com/web-appbuilder/guide/about-versions.htm" target="_self"&gt;About release versions&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 14:01:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/customizing-web-appbuilder-widgets-and-queries/m-p/1061785#M20882</guid>
      <dc:creator>DerekLaw</dc:creator>
      <dc:date>2021-05-26T14:01:03Z</dc:date>
    </item>
  </channel>
</rss>

