Capricorn Posted January 28, 2015 Report Share Posted January 28, 2015 Hi people,I installed JSAPI 3.12 for ArcGIS for Server 10.2.2 on Win7 x64.I made recommended modifications (replace with "localhost") to files: rest-config.properties init.js dojo.jsAlso, I changed service directory settings using admin account to: http://localhost/arcgis_js_api/library/3.12/3.12/init.js http://localhost/arcgis_js_api/sdk http://localhost/arcgis_js_api/library/3.12/3.12/dijit/themes/tundra/tundra.css http://localhost/arcgis_js_api/library/3.12/3.12/esri/css/esri.css Now I have ArcGIS for Server JS API working offline, even with no Internet.Is there any way I can access the same ArcGIS Server both offline and from Internet, using my no-ip host name?Is it possible to do that using some modifications in file mapserverJSAPI.jsp, so it can read real hostname, instead of its explicite name "localhost", maybe changing String absoluteServiceUrl and String jsapiArcgisUrl? 1 Quote Link to comment Share on other sites More sharing options...
Capricorn Posted February 1, 2015 Author Report Share Posted February 1, 2015 (edited) I got it working I made new changes to init.js and dojo.js to apply: ../arcgis_js_api/library/3.12/3.12 The result is very strange and weird, but it works both offline and online: http:/arcgis_js_api/library/3.12/3.12/ Edited February 1, 2015 by Capricorn Quote Link to comment Share on other sites More sharing options...
darksabersan Posted February 1, 2015 Report Share Posted February 1, 2015 I got it working I made new changes to init.js and dojo.js to apply: ../arcgis_js_api/library/3.12/3.12 The result is very strange and weird, but it works both offline and online: http:/arcgis_js_api/library/3.12/3.12/ That's a good news mate. We have talk later about that. Too busy up to now. Anyway, I'm installing ArcGIS Server 10.2.2 to follow your steps. Keep in touch. darksabersan. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.