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.
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-origin-header-is-present
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.