Downloaded the simple map viewer template from GithHub to deploy a web map locally on our ArcGIS Server. In the config/defaults.js file there is a sharinghost setting, which defaults to arcgis.com. The comment there says to "set this value to your portal or organization host name". During debugging I am seeing this being used to access REST urls that don't exist on our ArcGIS server (at AGS 10.1), so errors are being thrown although not to the end user. If I set this to "" it causes other errors when attempting to parse this value elsewhere in the code. Looking for clarification as to what this setting is intended for. Thanks.
"sharinghost": location.protocol + "//" + "jsapi.maps.arcgis.com"
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.