I have a custom basemap gallery in ArcGIS Enterprise Portal.
I created basemap in JavaScript running on https://localhost:4200 ( local development server).
const basemap = new Basemap({
portalItem: {
id: "0560e29930dc4d5ebeb58c635c0909c9",
portal: {
url: "https://xxx.com/portal"
}
}
});
How to setup allowedorigins in Enterprise Portal?
Thanks.
Forrest
Hey @ForrestLin
Any chance you could use either your IP address or your computer/server Hostname to attempt and allow it?
Cody
Hey @CodyPatterson
I tried to use hostname and port (https://myhost:4200). It still doesn't work. I think because it's local development server.
Thank.
Forrest