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?
Solved! Go to Solution.
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"
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"