Installing/Testing JS API on IIS

Discussion created by recurvata on Dec 11, 2012
Latest reply on Dec 12, 2012 by JGravois-esristaff
I'm trying to install & 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  instructions. I don't have the  '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.

Test the Install

Access the ArcGIS JavaScript library from your Web server using the following URL:http://<myserver>/arcgis_js_api/library/3.2/jsapi/init.js and http://<myserver>/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.  On Windows, the location is <Installation Location>\DeveloperKit\Help\REST\index.html.  On UNIX and Linux, the location is http://<myserver>:8399/<instance>/sdk/rest/index.html where myserver is your server name and instance is the instance name (jsapi is the default).    

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 <ArcGIS> and <ArcGISCSS>.  Replace with your server domain name.

For Java, the parameters to change in are jsapi.arcgis and jsapi.arcgis.css.  Replace with your server domain name.

Test your install.  You can use the following test code to validate your JSAPI library install.