I've created a custom widget and deployed it to ArcGIS Enterprise.
In the embedded WAB, I've created a new application, and I'm trying to add the custom widget to it. On the Custom tab of the Choose Widget window, my custom widget appears, but when I click it and click OK, nothing happens.
Any way to debug this or to figure out why I can't add my custom widget to the web app?
Looking at the Web Developer Tools in Firefox, I can see that when I click OK, a GET request is issued for manifest.json, which returns with a status of 200, but there's no content to the response. If I edit and resend the request without modification, it also returns with a status of 200, but with the manifest.json content as its payload.
Maybe Derek Law can provide some insight?
Solved! Go to Solution.
It turns out that this was related to a CORS configuration problem on the hosting site. I had specified https://<my portal url>/* as the allowed origin, but it only works when the "/*" was removed.
It turns out that this was related to a CORS configuration problem on the hosting site. I had specified https://<my portal url>/* as the allowed origin, but it only works when the "/*" was removed.
Hi Jonathan,
Sorry for the late reply and I am glad your issue was resolved.
Hope this find you well,