Hello. We're using Experience Builder Developer Edition v1.19 (latest available version as of this post). For the Analysis Widget it is bringing up a login prompt for a tool that is shared publicly. The tool otherwise functions fine without logging in, but would cause much confusion to users if deployed as-is so we have left it out of our production "New Viewer" for the time being:
Is this a known bug that's being worked on? Is there otherwise a workaround for the issue?
This behavior has been present for several releases and is one of a small handful of remaining bugs and missing functionality preventing our organization from moving fully off of Web AppBuilder (where this issue is not present with the same web map and tool).
A live web application demonstrating the bug: https://maps.fayetteville-ar.gov/newviewer_alt/
The analysis tool in question that is shared publicly (and thus shouldn't be prompting a login): https://maps.fayetteville-ar.gov/portal/home/item.html?id=0c040c85f56247edb2118fa8fa307e11
Our (current) main WAB viewer where everything works as it should: https://maps.fayetteville-ar.gov/viewer
I am seeing these errors in the console log, are these items shared properly?
VM1196 init.js:5 [esri.layers.FeatureLayer] #load() Failed to load layer (title: 'Public Land Survey System - Township', id: '19be824764f-layer-339') {error: o}
i @ VM1196 init.js:5
_log @ VM1196 init.js:5
error @ VM1196 init.js:5
(anonymous) @ init.js:5Understand this error
VM1196 init.js:5 [esri.layers.FeatureLayer] #load() Failed to load layer (title: 'Public Land Survey System - Township', id: '19be82474e5-layer-172') {error: o}
VM1196 init.js:5 [esri.layers.FeatureLayer] #load() Failed to load layer (title: 'Natural Features - Shaded Relief (ft)', id: '19be82474d3-layer-152') {error: o}
i @ VM1196 init.js:5
_log @ VM1196 init.js:5
error @ VM1196 init.js:5
(anonymous) @ init.js:5Understand this error
VM1196 init.js:5 [esri.layers.FeatureLayer] #load() Failed to load layer (title: 'Natural Features - Shaded Relief (ft)', id: '19be8247642-layer-319') {error: o}