<?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 Esri JS API - Local Stand-alone HTML in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-local-stand-alone-html/m-p/62285#M5450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a JS app that will need to function offline, and ideally it would function as a stand-alone html page (no IIS or other server).&amp;nbsp; Is it possible to package the Esri JS API in this way?&amp;nbsp; So that it really isn't hosted anywhere, but references are based on a local directory structure (e.g. c:\arcgis_js_v34_api\...).&amp;nbsp; The references could be absolute or relative to the stand-alone HTML page(s).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Brian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 May 2013 21:09:34 GMT</pubDate>
    <dc:creator>BrianRassier</dc:creator>
    <dc:date>2013-05-24T21:09:34Z</dc:date>
    <item>
      <title>Esri JS API - Local Stand-alone HTML</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-local-stand-alone-html/m-p/62285#M5450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a JS app that will need to function offline, and ideally it would function as a stand-alone html page (no IIS or other server).&amp;nbsp; Is it possible to package the Esri JS API in this way?&amp;nbsp; So that it really isn't hosted anywhere, but references are based on a local directory structure (e.g. c:\arcgis_js_v34_api\...).&amp;nbsp; The references could be absolute or relative to the stand-alone HTML page(s).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Brian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 21:09:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-local-stand-alone-html/m-p/62285#M5450</guid>
      <dc:creator>BrianRassier</dc:creator>
      <dc:date>2013-05-24T21:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Esri JS API - Local Stand-alone HTML</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-local-stand-alone-html/m-p/62286#M5451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found a way to get this to work.&amp;nbsp; Posting here in case others need the same result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Download JS API from Esri&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Follow the install.htm, but don't enter a "myserver" value when doing the search/replace.&amp;nbsp; Instead, use a relative path to the local JS API (e.g. "js/3.4/")&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Open the 2 files that were searched and replaced (init.js and dojo.js)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&lt;SPAN&gt;Find the area with the text replaced from step 2, and remove the hard-coded values prior which will force "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;" to be prefixed on resources.&lt;/SPAN&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Follow the rest of the install steps.&amp;nbsp; Now dojo and esri JS can be used with a stand-alone HTML file, without IIS, without a network connection.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 May 2013 02:38:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-local-stand-alone-html/m-p/62286#M5451</guid>
      <dc:creator>BrianRassier</dc:creator>
      <dc:date>2013-05-25T02:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Esri JS API - Local Stand-alone HTML</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-local-stand-alone-html/m-p/62287#M5452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had to place the server name and then it worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Going further it looks for the following URLs and breaks, since our ArcGIS server is not connected to internet and we want it to run local.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://services.arcgisonline.com/ArcGIS/rest/info?f=json"&gt;http://services.arcgisonline.com/ArcGIS/rest/info?f=json&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer?f=json&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer?f=json&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer?f=json&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript2._jsonpCallback"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer?f=json&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript2._jsonpCallback&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 06:44:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-local-stand-alone-html/m-p/62287#M5452</guid>
      <dc:creator>MohammadAyub_Khan</dc:creator>
      <dc:date>2016-10-17T06:44:25Z</dc:date>
    </item>
  </channel>
</rss>

