<?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 Custom dojo and dojox/gfx/createSurface.xd.js not found in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153794#M14350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For some reason i get this error when opening the map using custom dojo (ersiDojo):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;"NetworkError: 404 Not Found - &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.5/js/dojo/dojox/gfx/createSurface.xd.js" rel="nofollow" target="_blank"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/2.5/js/dojo/dojox/gfx/createSurface.xd.js&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;create...e.xd.js&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;uncaught exception: Could not load cross-domain resources: dojox.gfx.createSurface &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure why but there's something related with my dojo version... Does any had anything like that&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Nov 2011 12:04:17 GMT</pubDate>
    <dc:creator>RafaelCoutinho</dc:creator>
    <dc:date>2011-11-04T12:04:17Z</dc:date>
    <item>
      <title>Custom dojo and dojox/gfx/createSurface.xd.js not found</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153794#M14350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For some reason i get this error when opening the map using custom dojo (ersiDojo):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;"NetworkError: 404 Not Found - &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.5/js/dojo/dojox/gfx/createSurface.xd.js" rel="nofollow" target="_blank"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/2.5/js/dojo/dojox/gfx/createSurface.xd.js&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;create...e.xd.js&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;uncaught exception: Could not load cross-domain resources: dojox.gfx.createSurface &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure why but there's something related with my dojo version... Does any had anything like that&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 12:04:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153794#M14350</guid>
      <dc:creator>RafaelCoutinho</dc:creator>
      <dc:date>2011-11-04T12:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom dojo and dojox/gfx/createSurface.xd.js not found</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153795#M14351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I get this error as well. and I'm using the djconfig object to configure custom namespaces so that my custom version of dojo 1.7 is loaded first and then the esri api is loaded in the custom namespace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;script type="text/javascript" src="js/libs/dojo/dojo/dojo.js"&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;!--version 1.7.1 of the dojo framework is loaded first --&amp;gt;
&amp;lt;script type="text/javascript"&amp;gt;
&amp;lt;!--then I remap the dojo namespace so that when the arcgis library is loaded it's functions can be called using esridojo instead of dojo --&amp;gt;
&amp;nbsp; 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; };
&amp;lt;/script&amp;gt;
&amp;lt;script type="text/javascript" src="http://tiney-pie/cma/staging/prototype/js/libs/arcgis_js_api/2.6/"&amp;gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that this type of remapping the dojo namespace is not really supported. I'll likely just revert to using the dojo library that's bundled with the JSAPI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have a workaround for this? I should mention that I only get this error about 20% of the time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:13:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153795#M14351</guid>
      <dc:creator>RyanMuller</dc:creator>
      <dc:date>2021-12-11T08:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom dojo and dojox/gfx/createSurface.xd.js not found</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153796#M14352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The renaming of the dojo namespace is not really supported. I have not been successfull with it. scopeMap is deprecated in dojo 2.0 anyway.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 19:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153796#M14352</guid>
      <dc:creator>MattMoyles</dc:creator>
      <dc:date>2012-03-01T19:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom dojo and dojox/gfx/createSurface.xd.js not found</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153797#M14353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Matt. This is unfortunate as dojo 1.7 has a lot of functionality and bug fixes that I would like to use. It's good to know that it's not just me that's having problems though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 19:05:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153797#M14353</guid>
      <dc:creator>RyanMuller</dc:creator>
      <dc:date>2012-03-01T19:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom dojo and dojox/gfx/createSurface.xd.js not found</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153798#M14354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is supported, and we publish a sample to show how to do it:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/mapconfig_customdojo.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/mapconfig_customdojo.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That being said, I haven't tried this with 1.7. Since 1.7 introduces a new loader, there might be issues. I'll try to take a look and see if I can get it to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit:&amp;nbsp; This simple example works with version 2.7 of our API (uses dojo 1.6.1) and dojo 1.7.1 from the Google CDN:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&amp;gt;
&amp;lt;html&amp;gt;
&amp;nbsp; &amp;lt;head&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=7,IE=9" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--The viewport meta tag is used to improve the presentation and behavior of the samples 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on iOS devices--&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Custom Dojo Namespace&amp;lt;/title&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- Load Dojo 1.7.1 from Google CDN --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="http://ajax.googleapis.com/ajax/libs/dojo/1.7.1/dojo/dojo.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- local version also works... --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- &amp;lt;script type="text/javascript" src="/~dswingley/dojosrc/1.7.1/dojo/dojo.js" &amp;gt;&amp;lt;/script&amp;gt;&amp;nbsp; --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.7/js/dojo/dijit/themes/claro/claro.css"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; djConfig = {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scopeMap: [
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ "dojo", "esriDojo" ],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ "dijit", "esriDijit" ],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ "dojox", "esriDojox" ]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.7"&amp;gt;&amp;lt;/script&amp;gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Dojo library from Google CDN is built in such a way that
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // it depends on the djConfig global object when loading modules. 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // But we override it later when loading the JSAPI.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Reset it here so that modules from Google CDN are loaded
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // properly. 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // For example: after the page loads, try loading the following
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // module:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // dojo.require("dijit.layout.ContentPane");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // and observe firebug net tab. You should see bunch of modules
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // loaded from Google CDN. Without the reset below, the first module
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // loaded will be from Google CDN and its dependencies loaded from 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // the dojo instance embedded within JSAPI.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; djConfig = dojo.config;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esriDojo.require("esri.map");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.require("dijit.layout.ContentPane");

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function init() {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var extent = new esri.geometry.Extent(-122.93,47.02,-122.86,47.07, new esri.SpatialReference({wkid:4326}));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var map = new esri.Map("map", {extent:esri.geometry.geographicToWebMercator(extent)});
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var tiledMapServiceLayer = new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(tiledMapServiceLayer);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esriDojo.connect(map,"onLoad",function(map){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var esriVersion = "&amp;lt;b&amp;gt;ArcGIS API for JavaScript version:&amp;lt;/b&amp;gt;" + esri.version;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var esriDojoVersion = "&amp;lt;b&amp;gt;ArcGIS API for JavaScript Dojo version:&amp;lt;/b&amp;gt;" + esriDojo.version;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esriDojo.byId('esriInfo').innerHTML= esriVersion + "&amp;lt;br /&amp;gt;" + esriDojoVersion;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function initDojo(){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.byId('dojoInfo').innerHTML="&amp;lt;b&amp;gt;Google CDN Dojo Version:&amp;lt;/b&amp;gt;" + dojo.version;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.addOnLoad(initDojo);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esriDojo.addOnLoad(init);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;

&amp;nbsp; &amp;lt;/head&amp;gt;

&amp;nbsp; &amp;lt;body class="claro"&amp;gt;
&amp;nbsp; The following libraries are loaded in this application:&amp;lt;br /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="map" style="margin:2px 2px 2px 2px; border:solid thin #999967;width:500px;height:500px;"&amp;gt; &amp;lt;/div&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;span id="esriInfo"&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;span id="dojoInfo"&amp;gt;&amp;lt;/span&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;
&amp;nbsp; &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:13:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153798#M14354</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2021-12-11T08:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Custom dojo and dojox/gfx/createSurface.xd.js not found</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153799#M14355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This is unfortunate as dojo 1.7 has a lot of functionality and bug fixes that I would like to use. It's good to know that it's not just me that's having problems though.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you post more of your code? Do you see the error you mentioned even when you don't load dojo 1.7.1 but still rename the dojo namespace?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 20:29:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153799#M14355</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-03-01T20:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Custom dojo and dojox/gfx/createSurface.xd.js not found</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153800#M14356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This is supported, and we publish a sample to show how to do it:&amp;nbsp; &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/mapconfig_customdojo.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/mapconfig_customdojo.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That being said, I haven't tried this with 1.7. Since 1.7 introduces a new loaded, there might be issues. I'll try to take a look and see if I can get it to work.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even if you can manage to hack it together and get it to work I don't think it's a good idea.&amp;nbsp; You'll be loading many libraries twice. Esri Dojo 1.6.1 stuff to support their widgets and then whatever 1.7 stuff you load yourself. So you might be loading 2 dijit.form.Textbox or whatever else. If it's a smaller app then it's prob not a problem. If you are doing a larger app the double loading will kill your browser twice as fast, and you will see the dreaded 'script is too large' in your Firebug console.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 20:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153800#M14356</guid>
      <dc:creator>MattMoyles</dc:creator>
      <dc:date>2012-03-01T20:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom dojo and dojox/gfx/createSurface.xd.js not found</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153801#M14357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Even if you can manage to hack it together and get it to work I don't think it's a good idea.&amp;nbsp; You'll be loading many libraries twice. Esri Dojo 1.6.1 stuff to support their widgets and then whatever 1.7 stuff you load yourself. So you might be loading 2 dijit.form.Textbox or whatever else. If it's a smaller app then it's prob not a problem. If you are doing a larger app the double loading will kill your browser twice as fast, and you will see the dreaded 'script is too large' in your Firebug console.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might end up loading modules from dojo's base twice, but unless you dojo.require("dijit.something") and esridojo.require("dijit.something"), you shouldn't be loading additional modules twice. Taking it one step further, and this might be more trouble than it's worth, if you use dojo 1.7's AMD loader, you have to explicitly load everything so you could avoid duplicating modules in dojo base. You would only explicitly require() what you need and duplication would be minimal.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 21:17:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153801#M14357</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-03-01T21:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom dojo and dojox/gfx/createSurface.xd.js not found</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153802#M14358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can you post more of your code? Do you see the error you mentioned even when you don't load dojo 1.7.1 but still rename the dojo namespace?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was using JSAPI 2.6 and dojo 1.7.1 both hosted locally. One thing I did not do was to reset the djconfig like you did in your example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will upgrade to 2.7 and reset djconfig and report back.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 23:04:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153802#M14358</guid>
      <dc:creator>RyanMuller</dc:creator>
      <dc:date>2012-03-01T23:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom dojo and dojox/gfx/createSurface.xd.js not found</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153803#M14359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You might end up loading modules from dojo's base twice, but unless you dojo.require("dijit.something") and esridojo.require("dijit.something"), you shouldn't be loading additional modules twice. Taking it one step further, and this might be more trouble than it's worth, if you use dojo 1.7's AMD loader, you have to explicitly load everything so you could avoid duplicating modules in dojo base. You would only explicitly require() what you need and duplication would be minimal.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know about that. Sounds like a good way for a programmer to go bald. And I think it would be a nightmare to maintain.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 23:08:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153803#M14359</guid>
      <dc:creator>MattMoyles</dc:creator>
      <dc:date>2012-03-01T23:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom dojo and dojox/gfx/createSurface.xd.js not found</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153804#M14360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I don't know about that. Sounds like a good way for a programmer to go bald. And I think it would be a nightmare to maintain.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree about it being a maintenance nightmare. Using multiple versions of dojo should never be a long term solution. It's feasible for quick, short term prototyping but for anything beyond a proof of concept, I wouldn't recommend it. The old "just because you can, doesn't mean you should" cliche applies.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 02:07:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153804#M14360</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-03-02T02:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom dojo and dojox/gfx/createSurface.xd.js not found</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153805#M14361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I agree about it being a maintenance nightmare. Using multiple versions of dojo should never be a long term solution. It's feasible for quick, short term prototyping but for anything beyond a proof of concept, I wouldn't recommend it. The old "just because you can, doesn't mean you should" cliche applies.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fortunately I realized this without wasting too much time getting it working. I've reverted to just the JSAPI and the included dojo 1.6.1. I understand it's a big change to switch the JSAPI over to 1.7 but it's still rather frustrating being stuck at 1.6.1 especially given the doc-a-thon that dojo just went through for 1.7 which is greatly improving documentation and the knowledgebase for that version.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 12:16:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-dojo-and-dojox-gfx-createsurface-xd-js-not/m-p/153805#M14361</guid>
      <dc:creator>RyanMuller</dc:creator>
      <dc:date>2012-03-06T12:16:33Z</dc:date>
    </item>
  </channel>
</rss>

