jsapi calls differing between development and production ArcServer environment

2621
1
04-02-2015 08:53 AM
DavidColey
Frequent Contributor

Hello-

I have just discovered that our dev server hosting our stand-alone ArcServer 10.3 development is going out to:

https://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.3

at initiaize whereas our production environment is going out to:

https://js.arcgis.com/3.11

at initialize.  I disovered this beacause I can no longer preview an ImageServer 10.3 cache, where the url to the imageServer.js script at:

https://serverapi.arcgisonline.com/jsapi/arcgis/3.3/js/esri/layers/ArcGISImageServiceLayer.js

is not found.  More disturbing however is why? Why is my 10.3 standalone development server deployment still going out to the old serverapi 3.3 resource instead of the new 3.11 jsapi resource?

Any help or ideas are appreciated-

Thanks

David

Tags (1)
0 Kudos
1 Reply
DavidColey
Frequent Contributor

Found it!  For some reason my development enviroment rest handler services directory resource calls didn't update to the 3.11 url resources when I updated to 10.3, but did on my production environment.  So in server administrator at

https://<yourserver>:6443/arcgis/admin/system/handlers/rest/servicesdirectory

update the various javacript api urls from:

http://serverapi.arcgisonline.com/jsapi/arcgis/3.3

to

http://js.arcgis.com/3.11

thanks @David Crosby

0 Kudos