Hello All,
Do we need to enable any settings in portal to allow the cross origin request.
Thank you.
Hi @RamadeviAchanta -
The ArcGIS API for JavaScript has automatic detection for CORS. To support CORS, web servers (both the one that's hosting your ArcGIS Portal site and the one hosting your JS API application) must be pre-configured for it and browsers must be able to support it. For additional details on enabling this in a web server, please visit enable-cors.org. You can find more information regarding the JS API at this documentation page discussing CORS: https://developers.arcgis.com/javascript/latest/cors/
Hope this helps!
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.