<?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: install arcgis api for javascript in local not work as expected in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/install-arcgis-api-for-javascript-in-local-not/m-p/114955#M10728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Owen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know what is up, in the text I replace in the init.js missing a &lt;SPAN style="color: #000000; font-family: 'Microsoft YaHei', Verdana, arial, sans-serif; background-color: #f6f6f6;"&gt;double quotation marks， now it works, thanks for your reminding.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2015 01:01:30 GMT</pubDate>
    <dc:creator>WuYang</dc:creator>
    <dc:date>2015-03-19T01:01:30Z</dc:date>
    <item>
      <title>install arcgis api for javascript in local not work as expected</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/install-arcgis-api-for-javascript-in-local-not/m-p/114952#M10725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I follow the Install notes for the ArcGIS API for JavaScript™ (version 3.12) to install the API to my local (ArcGIS server).&lt;/P&gt;&lt;P&gt;The following steps had already been performed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) the arcgis_js_api folder is put under C:\inetpub\wwwroot.&lt;/P&gt;&lt;P&gt;(2) add the new application arcgis_js_api in IIS manager default web site.&lt;/P&gt;&lt;P&gt;(3) add init.js in default web site default document.&lt;/P&gt;&lt;P&gt;(4) restart IIS manager default web site&lt;/P&gt;&lt;P&gt;(5) modify the service directories as in the following picture:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="75202" alt="servicedirect.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/75202_servicedirect.jpg" style="width: 620px; height: 264px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can access the api through browser:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="75076" alt="browsehttp.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/75076_browsehttp.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample html is :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/TR/html4/strict.dtd" rel="nofollow" target="_blank"&gt;http://www.w3.org/TR/html4/strict.dtd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Simple Map&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" type="text/css" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost/arcgis_js_api/library/3.12/3.12/dijit/themes/tundra/tundra.css" rel="nofollow" target="_blank"&gt;http://localhost/arcgis_js_api/library/3.12/3.12/dijit/themes/tundra/tundra.css&lt;/A&gt;&lt;SPAN&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" type="text/css" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost/arcgis_js_api/library/3.12/3.12/esri/css/esri.css" rel="nofollow" target="_blank"&gt;http://localhost/arcgis_js_api/library/3.12/3.12/esri/css/esri.css&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost/arcgis_js_api/library/3.12/3.12/init.js" rel="nofollow" target="_blank"&gt;http://localhost/arcgis_js_api/library/3.12/3.12/init.js&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.require("esri.map");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function init() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var myMap = new esri.Map("mapDiv");&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var myTiledMapServiceLayer = new esri.layers.ArcGISTiledMapServiceLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://server.arcgisonline.com/ArcGIS/rest/services/NGS_Topo_US_2D/MapServer" rel="nofollow" target="_blank"&gt;http://server.arcgisonline.com/ArcGIS/rest/services/NGS_Topo_US_2D/MapServer&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.addLayer(myTiledMapServiceLayer);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.addOnLoad(init);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;body class="tundra"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="mapDiv" style="width:900px; height:600px; border:1px solid #000;"&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tested this sample html, I always got a page with a blank window. Can anybody tell me what is&lt;/P&gt;&lt;P&gt;wrong with my installation of the API for javascript?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My pc has the internet access.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 01:32:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/install-arcgis-api-for-javascript-in-local-not/m-p/114952#M10725</guid>
      <dc:creator>WuYang</dc:creator>
      <dc:date>2015-03-18T01:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: install arcgis api for javascript in local not work as expected</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/install-arcgis-api-for-javascript-in-local-not/m-p/114953#M10726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may have missed this important step outlined in &lt;EM&gt;install.htm &lt;/EM&gt;(in the API download):&lt;/P&gt;&lt;H3 style="color: #000000; font-family: 'Times New Roman';"&gt;Install the Normal or Compact Build&lt;/H3&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;ArcGIS JSAPI 3.12 contains two builds--a normal build and a compact build. The compact build removes the Dojo Dijit dependancy and minimizes the non-essential ArcGIS JSAPI classes. Please see the &lt;A&gt;documentation&lt;/A&gt; for more details.&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;Your directions may differ depending on your server configuration or Web server, but the process is the same.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;&lt;STRONG&gt;Configuration options for normal build:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;&lt;LI&gt;Open &lt;CODE&gt;C:\Inetpub\wwwroot\arcgis_js_api\library\3.12\3.12\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.12/3.12/"&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;Open &lt;CODE&gt;C:\Inetpub\wwwroot\arcgis_js_api\library\3.12\3.12\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.12/3.12/"&lt;/CODE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;&lt;STRONG&gt;Configuration options for compact build:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;&lt;LI&gt;Open &lt;CODE&gt;C:\Inetpub\wwwroot\arcgis_js_api\library\3.12\3.12compact\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 each instance of this text with &lt;CODE&gt;"&amp;lt;myserver&amp;gt;/arcgis_js_api/library/3.12/3.12compact/"&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;Open &lt;CODE&gt;C:\Inetpub\wwwroot\arcgis_js_api\library\3.12\3.12compact\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.12/3.12compact/"&lt;/CODE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 01:48:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/install-arcgis-api-for-javascript-in-local-not/m-p/114953#M10726</guid>
      <dc:creator>OwenEarley</dc:creator>
      <dc:date>2015-03-18T01:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: install arcgis api for javascript in local not work as expected</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/install-arcgis-api-for-javascript-in-local-not/m-p/114954#M10727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Owen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the fast reply. I just followed the &lt;EM style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;install.htm &lt;/EM&gt;and changed the Configuration for normal build.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found one thing, it seems the only thing not work is the code for the init.js.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://js.arcgis.com/3.13/init.js" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.13/init.js&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type="text/javascript" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost/arcgis_js_api/library/3.12/3.12/init.js" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000; text-decoration: underline;" target="_blank"&gt;http://localhost/arcgis_js_api/library/3.12/3.12/init.js&lt;/A&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;and all others use local url, it works. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 06:08:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/install-arcgis-api-for-javascript-in-local-not/m-p/114954#M10727</guid>
      <dc:creator>WuYang</dc:creator>
      <dc:date>2015-03-18T06:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: install arcgis api for javascript in local not work as expected</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/install-arcgis-api-for-javascript-in-local-not/m-p/114955#M10728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Owen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know what is up, in the text I replace in the init.js missing a &lt;SPAN style="color: #000000; font-family: 'Microsoft YaHei', Verdana, arial, sans-serif; background-color: #f6f6f6;"&gt;double quotation marks， now it works, thanks for your reminding.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 01:01:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/install-arcgis-api-for-javascript-in-local-not/m-p/114955#M10728</guid>
      <dc:creator>WuYang</dc:creator>
      <dc:date>2015-03-19T01:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: install arcgis api for javascript in local not work as expected</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/install-arcgis-api-for-javascript-in-local-not/m-p/114956#M10729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to hear it is working. It can be hard to locate typos or missing quotes within the &lt;EM&gt;init.js&lt;/EM&gt; file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 01:05:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/install-arcgis-api-for-javascript-in-local-not/m-p/114956#M10729</guid>
      <dc:creator>OwenEarley</dc:creator>
      <dc:date>2015-03-19T01:05:49Z</dc:date>
    </item>
  </channel>
</rss>

