Setting up a hosted ArcGIS JavaScript API

If you are using the ESRI ArcGIS JavaScript API, you have two options. You can use the online API from ESRI or you can use your own hosted version. If you are using a hosted API, then your maps will continue to work even if you lose your connection to ESRI.

To set up a hosted API, first download the API from https://developers.arcgis.com/downloads/. Download version 3.x, because Infor Public Sector GIS does not support version 4.0 or later.

Next, extract the API to a directory on your server and create a site pointing to that directory in IIS. To create the site, specify the physical path, the virtual path, and the application pool.

Finally, update the MapDrawerDatasets configuration to point to the site that you just created. The site URL is specified in the esriapi attribute of the CONFIG node.