<?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 Dojo namespace in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-namespace/m-p/16220#M1501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working within an application that uses dojo. The ESRI dojo overrides the dojo within the application, breaking some of the functionality. In previous versions of the ESRI JS API I was able to change the namespace (&lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm#jssamples/mapconfig_customdojo.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm#jssamples/mapconfig_customdojo.html&lt;/A&gt;&lt;SPAN&gt;) by using the following code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;djConfig = {
&amp;nbsp;&amp;nbsp;&amp;nbsp; scopeMap: [
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ "dojo", "esriDojo" ],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ "dijit", "esriDijit" ],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ "dojox", "esriDojox" ]
&amp;nbsp;&amp;nbsp;&amp;nbsp; ]
&amp;nbsp; };&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately that doesn't work past the ESRI JS API 2.8. I have been trying to upgrade to v3.6 and have again run into this hurdle. Is there a way to change the namespace of the Dojo that ESRI imports. I have tried downloading the API and altering the dojo code in a couple of places, but that doesn't seem to be doing what I want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 20:39:26 GMT</pubDate>
    <dc:creator>AndyStewart1</dc:creator>
    <dc:date>2021-12-10T20:39:26Z</dc:date>
    <item>
      <title>Dojo namespace</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-namespace/m-p/16220#M1501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working within an application that uses dojo. The ESRI dojo overrides the dojo within the application, breaking some of the functionality. In previous versions of the ESRI JS API I was able to change the namespace (&lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm#jssamples/mapconfig_customdojo.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm#jssamples/mapconfig_customdojo.html&lt;/A&gt;&lt;SPAN&gt;) by using the following code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;djConfig = {
&amp;nbsp;&amp;nbsp;&amp;nbsp; scopeMap: [
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ "dojo", "esriDojo" ],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ "dijit", "esriDijit" ],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ "dojox", "esriDojox" ]
&amp;nbsp;&amp;nbsp;&amp;nbsp; ]
&amp;nbsp; };&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately that doesn't work past the ESRI JS API 2.8. I have been trying to upgrade to v3.6 and have again run into this hurdle. Is there a way to change the namespace of the Dojo that ESRI imports. I have tried downloading the API and altering the dojo code in a couple of places, but that doesn't seem to be doing what I want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:39:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-namespace/m-p/16220#M1501</guid>
      <dc:creator>AndyStewart1</dc:creator>
      <dc:date>2021-12-10T20:39:26Z</dc:date>
    </item>
  </channel>
</rss>

