AnsweredAssumed Answered

Javascript 4.4 api on webSever IIS

Question asked by Henseki on Aug 17, 2017
Latest reply on Aug 23, 2017 by Henseki

I have followed the steps on how to install and test your API  on windows see instructions below

Install the Build

  1. Open C:\Inetpub\wwwroot\arcgis_js_api\library\4.4\dojo\dojo.js in a text editor and search for the text [HOSTNAME_AND_PATH_TO_JSAPI], and replace this text with https://www.example.com/arcgis_js_api/library/4.4/.

Test the Install

Now you should be able to access the ArcGIS JavaScript library from your web server using the following URL:

<script src="https://www.example.com/arcgis_js_api/library/4.4/dojo/dojo.js"></script>

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

-----------------------------------------------------------------------------

This is my local drive where I have installed it;

C:\inetpub\wwwroot\arcgis_js_v44_api . Also made the necessary changes to dojo.js as advised.

The next stage was to use a test.html to see if it works.

Where I ‘m a bit confused now  how do I point the URL to my test.html to be able to view in internet explorer.

I have open the test.html using C:\inetpub\wwwroot\arcgis_js_v44_api\test.html, and isn’t right.

Outcomes