Hi,
Since 4.20 we are having issues printing with our own Print Service, via the Print widget. We're getting an error when hovering over the exported files section "An error occured while exporting the webmap.".
I have tested the widget with the ESRI Print Service and it does work. The only difference I can see, is our service is asynchronous.
I assume this is linked to the changes related to the rest modules?
edit: More info
stack error: "TypeError: Cannot destructure property 'returnFeatureCollection' of 's' as it is null. at p.fetchResultData (http://localhost:8080/js/33.js:211:1559) at o (http://localhost:8080/js/46.js:39:926) at async print (http://localhost:8080/js/84.js:156:1933)"
ps: we changed our service to synchronous, and it works again. (but we'd like a fix for the async method...)
Solved! Go to Solution.
This will be fixed on the CDN in a day or two. My bad.
This will be fixed on the CDN in a day or two. My bad.
What version was this fixed in? https://www.npmjs.com/package/@arcgis/core
I'm getting the same error.
This was fixed at 4.21
Thanks. I know this is a big ask but is there a way to get that fix in 4.20? Starting in 4.21, layers are requested on the map regardless of layer visibility and it's killing our performance. We were hoping not to have to change our layer visibility toggle.
Sorry, we don't patch released versions (beyond browser security fixes). If you are seeing an issue with layer requests, you can submit it to support for better tracking and it will make its way to the devs.
Thanks, it actually looks like 4.20.2 is fixed in the arcgis/core lib.