AnsweredAssumed Answered

Basemap Gallery Widget Source

Question asked by mddowning on Oct 11, 2018
Latest reply on Oct 12, 2018 by rscheitlin

Hi - I'm developing a JS 4.x app using a web map from our Enterprise Portal. I'm coming across an issue where the Basemap Gallery widget's default source is our Portal. This is an issue because the map is requiring users to sign-in in order to authenticate against our Enterprise Portal. It appears I can change the source of where the widget pulls the basemaps from. (https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapGallery.html#source )

 

In order to set the source back to arcgis.com it looks like the esri/portal/Portal class needs to be used, is this correct? Has anyone implemented this?

Outcomes