When I load a web scene from Arcgis Enterprise I get the error. When I load a web scene from Arcgis Online it does not give the same result and loads the map or scene.
4.30
Hello @emreaktas1 The error you mentioned is usually due to one of the following reasons:
// Set the hostname to the on-premise portal esriConfig.portalUrl = "https://myHostName.domainName.com/webadaptorName"; const webScene = new WebScene({ portalItem: { // Here your item id id: "xxxxxxxxxxxxxxxxx" } });
I hope this can help you. Otherwise, please attach your code here (or send it to me privately) so I can investigate further.
this solved the problem. thank you @MatteoRizzi1
esriConfig.portalUrl =
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.