I have installed the JavaScript API locally to use in a developer environment with no internet connection. The issue I am encountering is when I attempt to view the sample service hosted by ArcServer I am presented with a blank white page. The sample service is visible when viewed in Desktop & Catalog so I presume the issue is related to my installing of the JavaScript API and setting it for local use. I believe I followed the windows install notes for JavaScript 3.15 to the letter using the Normal build.
I continue with the installation document and change the ArcGIS Services Directory “View In JavaScript” URL to the ones in the document
Lastly I copied the following code to the ArcGIS\Server\framework\runtime\tomcat\webapps\arcgis#rest\www\client\mapserver\mapserverJSAPI.jsp file
@import "";
@import "/static/jsapi.css";
@import "/js/esri/css/esri.css";
This is my first time attempting to setup a developer environment.
أكثر...
- I extracted and copied\arcgis_js_api\library to the C:\Inetpub\wwwroot folder.
- I opened init.js & dodo.js and replaced both [HOSTNAME_AND_PATH_TO_JSAPI] with mysitehere/arcgis_js_api/library/3.15/3.15/ (did not include http://)
- I successfully tested //mysitehere/arcgis_js_api/library/3.15/3.15/init.js and was prompted with init.js opening.

I continue with the installation document and change the ArcGIS Services Directory “View In JavaScript” URL to the ones in the document

Lastly I copied the following code to the ArcGIS\Server\framework\runtime\tomcat\webapps\arcgis#rest\www\client\mapserver\mapserverJSAPI.jsp file
@import "";
@import "/static/jsapi.css";
@import "/js/esri/css/esri.css";
This is my first time attempting to setup a developer environment.
أكثر...