Maps will not draw when connected to Enterprise Portal

302
1
Jump to solution
04-19-2018 06:30 PM
MattiasWallin
New Contributor II

I'm using the ArcGIS Python API in Jupyter and it works fine when I connect either anonymously to Esri or to our enterprise portal hosted by Esri- when I connect to our newly built 10.6 portal nothing will draw.  Is there something that needs to be set up on the new portal so that maps etc can be drawn using the API?

Thanks.

Screenshot of login

0 Kudos
1 Solution

Accepted Solutions
Per_Åke_MattiasWallin
New Contributor III

Once I upgraded to the 1.5.0 version then it now works using our local Portal.  However, I have to start the browser with security disabled for it to work.

"C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe" --user-data-dir="C:/Chrome dev session" --disable-web-security
as per this article https://stackoverflow.com/questions/20035101/why-does-my-javascript-get-a-no-access-control-allow-or...

View solution in original post

0 Kudos
1 Reply
Per_Åke_MattiasWallin
New Contributor III

Once I upgraded to the 1.5.0 version then it now works using our local Portal.  However, I have to start the browser with security disabled for it to work.

"C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe" --user-data-dir="C:/Chrome dev session" --disable-web-security
as per this article https://stackoverflow.com/questions/20035101/why-does-my-javascript-get-a-no-access-control-allow-or...

0 Kudos