Skip to content

Instantly share code, notes, and snippets.

@oevans
Last active December 19, 2015 05:09
Show Gist options
  • Save oevans/5902645 to your computer and use it in GitHub Desktop.
Save oevans/5902645 to your computer and use it in GitHub Desktop.
Configuring app templates for use with Portal for ArcGIS: Changes to init() function
function init() {
if (!_jqueryReady) return;
if (!_dojoReady) return;
esri.arcgis.utils.arcgisUrl = SHARINGURL; // ***ADD THIS LINE***
if (getParameterByName("webmap") != "") {
WEBMAP_ID = getParameterByName("webmap");
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment