<?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 Re: Latest AMD having problems with index.html file in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-amd-having-problems-with-index-html-file/m-p/206560#M19183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have noticed this as well but only on android.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what web server are you using?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jun 2014 16:02:13 GMT</pubDate>
    <dc:creator>JeffPace</dc:creator>
    <dc:date>2014-06-10T16:02:13Z</dc:date>
    <item>
      <title>Latest AMD having problems with index.html file</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-amd-having-problems-with-index-html-file/m-p/206559#M19182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had a legacy ESRI JS site, I have now upgraded this to include the latest AMD and ESRI JS API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;All the files are stored in a folder called "site", in a browser, when I type "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://site/gis.html" rel="nofollow" target="_blank"&gt;http://site/gis.html&lt;/A&gt;&lt;SPAN&gt;" ("gis.html" was added in the site properties in IIS), the new AMD site loads with no errors and functions perfectly in all browsers, Firefox, IE, Chrome. When "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://site/" rel="nofollow" target="_blank"&gt;http://site/&lt;/A&gt;&lt;SPAN&gt;" is typed part of the page loads, without the map etc and displays the following errors in the console:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;"NetworkError: 504 Unknown Host - &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://infowindow.js/" rel="nofollow" target="_blank"&gt;http://infowindow.js/&lt;/A&gt;&lt;SPAN&gt;" --------------------------- infowindow.js&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: scriptError ------------------------------------------------------------------- init.js (line 15)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...a){return"[object Array]"==r.call(a)},f=function(a,c){if(a)for(var d=0;a&lt;D&gt;;)c(a...&lt;/D&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;src: dojoLoader -------------------------------------------------------------------- init.js (line 41)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;info: ["//InfoWindow.js", error ] ----------------------------------------------------- init.js (line 41)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;. ---------------------------------------------------------------------------------- init.js (line 41)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;As a test, I copied the old site over and just typing "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://site/" rel="nofollow" target="_blank"&gt;http://site/&lt;/A&gt;&lt;SPAN&gt;" and this as expected calls the "gis.html" file and the whole site loads.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 09:15:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-amd-having-problems-with-index-html-file/m-p/206559#M19182</guid>
      <dc:creator>SaqibAmin2</dc:creator>
      <dc:date>2014-06-10T09:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Latest AMD having problems with index.html file</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-amd-having-problems-with-index-html-file/m-p/206560#M19183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have noticed this as well but only on android.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what web server are you using?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 16:02:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-amd-having-problems-with-index-html-file/m-p/206560#M19183</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-06-10T16:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Latest AMD having problems with index.html file</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-amd-having-problems-with-index-html-file/m-p/206561#M19184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using IIS 6.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the console, when it refers to InfoWindow.js it can't find it, maybe in the html the directory structure is odd?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since InfoWindow.js is loaded through dojoConfig, I have taken the javascript file declaration out:&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"&amp;gt;
 var dojoConfig = {
&amp;nbsp; parseOnLoad : false,
&amp;nbsp; async : false,
&amp;nbsp; packages : [ {
&amp;nbsp;&amp;nbsp; name : "myModules",
&amp;nbsp;&amp;nbsp; location : location.pathname.replace( /\/[^/]+$/, "/myModules")
&amp;nbsp; } ] };
&amp;lt;/script&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:12:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-amd-having-problems-with-index-html-file/m-p/206561#M19184</guid>
      <dc:creator>SaqibAmin2</dc:creator>
      <dc:date>2021-12-11T10:12:34Z</dc:date>
    </item>
  </channel>
</rss>

