Select to view content in your preferred language

can see layer with embedded js viewer, but fails otherwise

02-09-2018 03:11 PM
New Contributor III

We have an arcgis server that hosts a layer. If you use "View In:   ArcGIS JavaScript", thinks work fine.However, when you copy the very same code (via ctrl+u) and make the proper adjustments in urls, nothing shows up. developer tools show no errors or warnings. Any suggestion? any tool i can use to find more info?


0 Kudos
1 Reply
Esri Contributor

david zornosa‌ So you're copying the source code and pasting it into a separate HTML file? Where are you hosting that HTML file? If it is not on the same domain as your ArcGIS server you may be experiencing a CORS issue.

More Info:

0 Kudos