<?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 Installing/Testing JS API on IIS in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48682#M4264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to install &amp;amp; test the Javascript API on my local machine using IIS (C:\inetpub\wwwroot) using the instructions in the install.html file shown below. I don't understand the bolded&amp;nbsp; instructions. I don't have the&amp;nbsp; 'ArcGIS Server REST SDK' installed locally anywhere I can find. Any help on what this means and how to proceed? Thanks, appreciate it. Actual coding is easier than the setup, I think.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
Test the Install

Access the ArcGIS JavaScript library from your Web server using the following URL:http://&amp;lt;myserver&amp;gt;/arcgis_js_api/library/3.2/jsapi/init.js and http://&amp;lt;myserver&amp;gt;/arcgis_js_api/library/3.2/jsapicompact/init.js

Change the ArcGIS Services Directory "View In JavaScript" URL. Instructions are given in "Configuring the REST API" in the ArcGIS Server REST SDK.&amp;nbsp; On Windows, the location is &amp;lt;Installation Location&amp;gt;\DeveloperKit\Help\REST\index.html.&amp;nbsp; On UNIX and Linux, the location is http://&amp;lt;myserver&amp;gt;:8399/&amp;lt;instance&amp;gt;/sdk/rest/index.html where myserver is your server name and instance is the instance name (jsapi is the default).&amp;nbsp;&amp;nbsp;&amp;nbsp; 

Find the "JavaScript API" section for either .NET or Java for more information about parameter values.

For .NET, the parameters to change in rest.config are &amp;lt;ArcGIS&amp;gt; and &amp;lt;ArcGISCSS&amp;gt;.&amp;nbsp; Replace serverapi.arcgisonline.com with your server domain name.

For Java, the parameters to change in rest-config.properties are jsapi.arcgis and jsapi.arcgis.css.&amp;nbsp; Replace serverapi.arcgisonline.com with your server domain name.



Test your install.&amp;nbsp; You can use the following test code to validate your JSAPI library install.&amp;nbsp; 
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2012 15:26:06 GMT</pubDate>
    <dc:creator>Zeke</dc:creator>
    <dc:date>2012-12-11T15:26:06Z</dc:date>
    <item>
      <title>Installing/Testing JS API on IIS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48682#M4264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to install &amp;amp; test the Javascript API on my local machine using IIS (C:\inetpub\wwwroot) using the instructions in the install.html file shown below. I don't understand the bolded&amp;nbsp; instructions. I don't have the&amp;nbsp; 'ArcGIS Server REST SDK' installed locally anywhere I can find. Any help on what this means and how to proceed? Thanks, appreciate it. Actual coding is easier than the setup, I think.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
Test the Install

Access the ArcGIS JavaScript library from your Web server using the following URL:http://&amp;lt;myserver&amp;gt;/arcgis_js_api/library/3.2/jsapi/init.js and http://&amp;lt;myserver&amp;gt;/arcgis_js_api/library/3.2/jsapicompact/init.js

Change the ArcGIS Services Directory "View In JavaScript" URL. Instructions are given in "Configuring the REST API" in the ArcGIS Server REST SDK.&amp;nbsp; On Windows, the location is &amp;lt;Installation Location&amp;gt;\DeveloperKit\Help\REST\index.html.&amp;nbsp; On UNIX and Linux, the location is http://&amp;lt;myserver&amp;gt;:8399/&amp;lt;instance&amp;gt;/sdk/rest/index.html where myserver is your server name and instance is the instance name (jsapi is the default).&amp;nbsp;&amp;nbsp;&amp;nbsp; 

Find the "JavaScript API" section for either .NET or Java for more information about parameter values.

For .NET, the parameters to change in rest.config are &amp;lt;ArcGIS&amp;gt; and &amp;lt;ArcGISCSS&amp;gt;.&amp;nbsp; Replace serverapi.arcgisonline.com with your server domain name.

For Java, the parameters to change in rest-config.properties are jsapi.arcgis and jsapi.arcgis.css.&amp;nbsp; Replace serverapi.arcgisonline.com with your server domain name.



Test your install.&amp;nbsp; You can use the following test code to validate your JSAPI library install.&amp;nbsp; 
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 15:26:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48682#M4264</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2012-12-11T15:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Installing/Testing JS API on IIS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48683#M4265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;the instructions you mentioned are only relevant if you have ArcGIS Server installed on the same machine to help you configure it to point to your local API when displaying the JavaScript sample viewer for services you've published.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ie:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://services.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer?f=jsapi"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer?f=jsapi&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to make things slightly more confusing, the wording of the present instructions are specific to ArcGIS Server 10.0.&amp;nbsp; At 10.1 the rest config properties location is &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;[install_location]\ArcGIS\Server\framework\runtime\tomcat\webapps\arcgis#rest\WEB-INF\classes\resources\rest-config.properties&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;we are working on updating the installation guide.&amp;nbsp; sorry for the inconvenience.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 22:04:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48683#M4265</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-12-11T22:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Installing/Testing JS API on IIS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48684#M4266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, thanks, then I can ignore that? Anything I should replace/do instead? I'm just using IIS to test things out. We'll be migrating from 10.0, using ADF on the actual server, to 10.1, where we need to upgrade to JS, Silverlight, etc., and we'd prefer JS.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 15:29:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48684#M4266</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2012-12-12T15:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Installing/Testing JS API on IIS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48685#M4267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;why not just use the hosted CDN copy of our API?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 16:05:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48685#M4267</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-12-12T16:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Installing/Testing JS API on IIS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48686#M4268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;like cbsnews did during superstorm Sandy?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 17:44:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48686#M4268</guid>
      <dc:creator>KeG</dc:creator>
      <dc:date>2012-12-12T17:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Installing/Testing JS API on IIS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48687#M4269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;well, he said he was just planning on doing some testing to get familiar with the API....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but if he's gonna build an app that generates a few million hits and causes a natural disaster which takes out server farms, hopefully he'll let us all know in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 17:55:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48687#M4269</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-12-12T17:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Installing/Testing JS API on IIS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48688#M4270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;why not just use the hosted CDN copy of our API?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, this is just testing on my machine, but also not familiar with the hosted CDN. More familiar with the programming side of things than network/server setup. Apparently the city has ArcServer that services are published to, web access through IIS. I may have that wrong, it's been years since I set up anything myself. I think I need a 'services publishing web for dummies' tutorial. :confused:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 18:16:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48688#M4270</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2012-12-12T18:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Installing/Testing JS API on IIS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48689#M4271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if you're just getting familiar with the JavaScript API, there is no need to install and configure it locally.&amp;nbsp; feel free to use the version we make available over the internet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i'd recommend taking a look at our conceptual article "&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/intro_firstmap.htm"&gt;Building your first application&lt;/A&gt;&lt;SPAN&gt;" and then perusing all our published &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm"&gt;samples&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can copy/paste or download the projects and host on IIS or any other web server on a development machine.&amp;nbsp; They should work whether you are pointing at your own ArcGIS Server content or the content on our sample servers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope that helps! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 18:46:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/installing-testing-js-api-on-iis/m-p/48689#M4271</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-12-12T18:46:34Z</dc:date>
    </item>
  </channel>
</rss>

