This document assumes that Microsoft IIS is being used as the web server. If using a different program, some steps may not apply or may be different based on that configuration. Please consult that software’s documentation if needed.
2. Sign in using Esri Global Account credentials.
3. Under the ArcGIS Web SDKs (Download for Hosting Locally) section, download both the API and Documentation.
At time of publishing the current JSAPI release is 3.16 and all subsequent folder paths include this information. If using an alternate version adjust the paths accordingly.
4. Extract both files to a temporary location such as the following:
5. Create a new folder in the IIS root virtual directory called arcgis_js_api as shown below:
6. Copy the extracted library and sdk subfolders from their temporary locations into the newly created arcgis_js_api folder:
Please note in the following two steps, do not include 'http://' with the fully qualified host name as this is already defined in the two files.
1. Open the following file in a text editor:
2. Search for the text [HOSTNAME_AND_PATH_TO_JSAPI] and replace this text with:
3. Open the following file in a text editor:
4. Search for the text [HOSTNAME_AND_PATH_TO_JSAPI] and replace this text with:
Edit ArcGIS services
1. In a web browser on the server, navigate to the following location:
2. Log in with administrator credentials.
3. Copy or take a screenshot of the current Services Directory settings in case it is necessary to revert to the default settings.
4. Click Edit to modify settings.
If the server is configured to use HTTPS only, modify the examples above to use HTTPS instead of HTTP as the URL connection.
6. Clear the browser cache to complete installation.