<?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 upgrading to 4.25, dojo/query and esri/rest/query are conflicting in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247777#M79882</link>
    <description>&lt;P&gt;I am upgrading an older web map from 4.17 to 4.25 and don't have the time to rebuild with ES modules. I'm looking for a way to call dojo/query and esri/rest/query by different names using AMD modules.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Uncaught TypeError: query.executeQueryJSON is not a function&lt;/P&gt;&lt;P&gt;This error popped up after upgrading to 4.25 where the dojo library is no longed included with the CDN package.&amp;nbsp; Assuming this is the reason because 4.24 still works.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 19:59:07 GMT</pubDate>
    <dc:creator>JayHill</dc:creator>
    <dc:date>2023-01-12T19:59:07Z</dc:date>
    <item>
      <title>upgrading to 4.25, dojo/query and esri/rest/query are conflicting</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247777#M79882</link>
      <description>&lt;P&gt;I am upgrading an older web map from 4.17 to 4.25 and don't have the time to rebuild with ES modules. I'm looking for a way to call dojo/query and esri/rest/query by different names using AMD modules.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Uncaught TypeError: query.executeQueryJSON is not a function&lt;/P&gt;&lt;P&gt;This error popped up after upgrading to 4.25 where the dojo library is no longed included with the CDN package.&amp;nbsp; Assuming this is the reason because 4.24 still works.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 19:59:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247777#M79882</guid>
      <dc:creator>JayHill</dc:creator>
      <dc:date>2023-01-12T19:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: upgrading to 4.25, dojo/query and esri/rest/query are conflicting</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247782#M79883</link>
      <description>&lt;P&gt;You can still pull dojo in via the dojoConfig a 4.25+...&lt;/P&gt;&lt;P&gt;See here:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/release-notes/#removal-of-non-esri-packages-from-cdn" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/release-notes/#removal-of-non-esri-packages-from-cdn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;packages: [
                {
                    name: "dojo",
                    location: "../../3.42/dojo"
                },
                {
                    name: "dijit",
                    location: "../../3.42/dijit"
                }
            ]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 20:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247782#M79883</guid>
      <dc:creator>MichaelSnook</dc:creator>
      <dc:date>2023-01-12T20:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: upgrading to 4.25, dojo/query and esri/rest/query are conflicting</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247785#M79884</link>
      <description>&lt;P&gt;Right, I am pulling it from another CDN but I get "&lt;SPAN&gt;Uncaught TypeError: query.executeQueryJSON is not a function" error and I am assuming my code is confusing dojo/query and esri/rest/query as I use both for the app.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 20:15:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247785#M79884</guid>
      <dc:creator>JayHill</dc:creator>
      <dc:date>2023-01-12T20:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: upgrading to 4.25, dojo/query and esri/rest/query are conflicting</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247795#M79885</link>
      <description>&lt;P&gt;Gotcha...I should have read slower...I have both in projects and I have the dojo/Query init function parameter set to 'query', and have the esri/rest/query parameter set to 'restQuery' -- then calling restQuery.executeQueryJSON works fine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 20:24:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247795#M79885</guid>
      <dc:creator>MichaelSnook</dc:creator>
      <dc:date>2023-01-12T20:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: upgrading to 4.25, dojo/query and esri/rest/query are conflicting</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247818#M79886</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2691"&gt;@MichaelSnook&lt;/a&gt;&amp;nbsp;would you have an example of the code?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 20:49:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247818#M79886</guid>
      <dc:creator>JayHill</dc:creator>
      <dc:date>2023-01-12T20:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: upgrading to 4.25, dojo/query and esri/rest/query are conflicting</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247829#M79887</link>
      <description>&lt;P&gt;Sure...&lt;/P&gt;&lt;LI-CODE lang="c"&gt;require([

        "esri/rest/query",               
        "dojo/query"
        
    ], function (
            
            restQuery,
            query
			
    ){	
	//esri restQuery call
	restQuery.executeQueryJSON(){
});			
	}&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 12 Jan 2023 21:10:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247829#M79887</guid>
      <dc:creator>MichaelSnook</dc:creator>
      <dc:date>2023-01-12T21:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: upgrading to 4.25, dojo/query and esri/rest/query are conflicting</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247832#M79888</link>
      <description>&lt;P&gt;Ah I see. So simple. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 21:14:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrading-to-4-25-dojo-query-and-esri-rest-query/m-p/1247832#M79888</guid>
      <dc:creator>JayHill</dc:creator>
      <dc:date>2023-01-12T21:14:39Z</dc:date>
    </item>
  </channel>
</rss>

