I have a dashboard utilizing data expressions to summarize some field survey data on the fly. The expressions work for everyone with whom the dashboard is shared - as long as they're in my organization. Outside the organization, the elements referencing the data expressions have a "Data Source Error" message. I'm wondering if this has to do with how I'm pulling the data in as a FeatureSetByPortalItem, i.e.
// Set portal and layers
var portal = Portal('your portal URL');
var fs = FeatureSetByPortalItem(
portal,
'itemID of service',
layer index,
['list', 'of', 'fields'],
false
);
Is calling in the data through my portal preventing users outside my portal from accessing the data, even though they have access via a share group? If so, is there another way to call in the data so that they maintain access? Can't seem to figure out another reason these elements would fail. Everyone in the share group has access to all feature layers, web maps, and the dashboard itself.
Thanks,
Josh
Solved! Go to Solution.
For anyone else stumbling upon this problem in the future, I was able to troubleshoot the issue. The problem was solved by changing the portal URL in line 1 to the 'plain jane' ArcGIS Online (as opposed to our organization's modified URL for ArcGIS Online).
var portal = Portal("https://www.arcgis.com")
For anyone else stumbling upon this problem in the future, I was able to troubleshoot the issue. The problem was solved by changing the portal URL in line 1 to the 'plain jane' ArcGIS Online (as opposed to our organization's modified URL for ArcGIS Online).
var portal = Portal("https://www.arcgis.com")