How do I configure the Simple Map Viewer using the 'sharinghost" setting with ArcGIS for Portal?

3259
1
Jump to solution
07-08-2014 02:59 PM
DanielWilson
New Contributor III

I downloaded the simple map viewer from github and deployed it in IIS. I'm trying to configure default.js with our internal Portal.  I changed the sharehost setting to point to our local ArcGIS for Portal home Example: "sharinghost": location.protocol + "//" + "https://myportal.domain,"  I then changed the "web map" setting to point to a webmap in Portal.  When trying to run the application, all I see is a spinning wheel.   Using fiddler/inspecting elements in Chrome I don't see anything any error codes.  Am I using the correct settings?

0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Frequent Contributor

When updating the sharing url leave the https:// portion out because that's defined by the location.protocol + "//". So it should look like this:

"sharinghost": location.protocol + "//" + "myportal.dom"

View solution in original post

0 Kudos
1 Reply
KellyHutchins
Esri Frequent Contributor

When updating the sharing url leave the https:// portion out because that's defined by the location.protocol + "//". So it should look like this:

"sharinghost": location.protocol + "//" + "myportal.dom"

0 Kudos