<?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 Error configuring local JS API/library  from a web app in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-configuring-local-js-api-library-from-a-web/m-p/448534#M41445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to configure my web application to use js library on local server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did the following,&lt;/P&gt;&lt;OL style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;&lt;LI&gt;Downloaded the js library and hosted on local server.&lt;/LI&gt;&lt;LI&gt;Copy &lt;CODE&gt;\arcgis_js_api\library&lt;/CODE&gt; and all its contents from the DVD to your Web server. In this example the files are copied to:&lt;BR /&gt;&lt;CODE&gt;C:\Inetpub\wwwroot\arcgis_js_api\library&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;Open &lt;CODE&gt;C:\Inetpub\wwwroot\arcgis_js_api\library\3.14\3.14\init.js&lt;/CODE&gt; in a text editor and search for the text &lt;CODE&gt;'[HOSTNAME_AND_PATH_TO_JSAPI]'&lt;/CODE&gt;, and replace this text with &lt;CODE&gt;"&amp;lt;myserver&amp;gt;/arcgis_js_api/library/3.14/3.14/"&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;Open &lt;CODE&gt;C:\Inetpub\wwwroot\arcgis_js_api\library\3.14\3.14\dojo\dojo.js&lt;/CODE&gt; in a text editor and search for the text &lt;CODE&gt;'[HOSTNAME_AND_PATH_TO_JSAPI]'&lt;/CODE&gt;, and replace this text with &lt;CODE&gt;"&amp;lt;myserver&amp;gt;/arcgis_js_api/library/3.14/3.14/"&lt;/CODE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The index.html has following references,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fmyserver%2Farcgis_js_api%2Flibrary%2F3.14%2F3.14%2Fesri%2Fcss%2Fesri.css" rel="nofollow" target="_blank"&gt;http://myserver/arcgis_js_api/library/3.14/3.14/esri/css/esri.css&lt;/A&gt;&lt;SPAN&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script type="text/javascript" src="&lt;A href="http://myserver/arcgis_js_api/library/3.14/3.14/esri/css/esri.css" title="http://myserver/arcgis_js_api/library/3.14/3.14/esri/css/esri.css"&gt;http://myserver/arcgis_js_api/library/3.14/3.14/init.js" /&amp;gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get following error:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="40" src="https://community.esri.com/legacyfs/online/128055_pastedImage_7.png" style="width: 711px; height: 39.5px;" width="711" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate any feedback.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2015 23:28:29 GMT</pubDate>
    <dc:creator>VenuKanaparthy</dc:creator>
    <dc:date>2015-09-23T23:28:29Z</dc:date>
    <item>
      <title>Error configuring local JS API/library  from a web app</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-configuring-local-js-api-library-from-a-web/m-p/448534#M41445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to configure my web application to use js library on local server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did the following,&lt;/P&gt;&lt;OL style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;&lt;LI&gt;Downloaded the js library and hosted on local server.&lt;/LI&gt;&lt;LI&gt;Copy &lt;CODE&gt;\arcgis_js_api\library&lt;/CODE&gt; and all its contents from the DVD to your Web server. In this example the files are copied to:&lt;BR /&gt;&lt;CODE&gt;C:\Inetpub\wwwroot\arcgis_js_api\library&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;Open &lt;CODE&gt;C:\Inetpub\wwwroot\arcgis_js_api\library\3.14\3.14\init.js&lt;/CODE&gt; in a text editor and search for the text &lt;CODE&gt;'[HOSTNAME_AND_PATH_TO_JSAPI]'&lt;/CODE&gt;, and replace this text with &lt;CODE&gt;"&amp;lt;myserver&amp;gt;/arcgis_js_api/library/3.14/3.14/"&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;Open &lt;CODE&gt;C:\Inetpub\wwwroot\arcgis_js_api\library\3.14\3.14\dojo\dojo.js&lt;/CODE&gt; in a text editor and search for the text &lt;CODE&gt;'[HOSTNAME_AND_PATH_TO_JSAPI]'&lt;/CODE&gt;, and replace this text with &lt;CODE&gt;"&amp;lt;myserver&amp;gt;/arcgis_js_api/library/3.14/3.14/"&lt;/CODE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The index.html has following references,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fmyserver%2Farcgis_js_api%2Flibrary%2F3.14%2F3.14%2Fesri%2Fcss%2Fesri.css" rel="nofollow" target="_blank"&gt;http://myserver/arcgis_js_api/library/3.14/3.14/esri/css/esri.css&lt;/A&gt;&lt;SPAN&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script type="text/javascript" src="&lt;A href="http://myserver/arcgis_js_api/library/3.14/3.14/esri/css/esri.css" title="http://myserver/arcgis_js_api/library/3.14/3.14/esri/css/esri.css"&gt;http://myserver/arcgis_js_api/library/3.14/3.14/init.js" /&amp;gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get following error:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="40" src="https://community.esri.com/legacyfs/online/128055_pastedImage_7.png" style="width: 711px; height: 39.5px;" width="711" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate any feedback.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 23:28:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-configuring-local-js-api-library-from-a-web/m-p/448534#M41445</guid>
      <dc:creator>VenuKanaparthy</dc:creator>
      <dc:date>2015-09-23T23:28:29Z</dc:date>
    </item>
  </channel>
</rss>

