Hello,
I am trying to build a new data expression in a serial chart within my ArcGIS Dashboard app using FeatureSetByPortalItem().
I can create one connecting to my AGOL account, however I don't seem to be able to create one connecting to my local Enterprise Portal account. When I try I get the following error message:
Execution Error:Item does not exist or is inaccessible.
From what I can read via: https://developers.arcgis.com/arcade/guide/types/#portal
I should be able to connect to a service via its service ID. The service exists, but I am not able to connect to it. Right now the service is shared with a Beta Testing group within our Portal.
Is there a chance my share settings are blocking it? I am an admin and member of said group. I have tried both the default 'www.arcgis.com' and the URL for my Enterprise Portal.
Any ideas? Thanks
var p = Portal('https://www.arcgis.com');
var features = FeatureSetByPortalItem(
p,
'xyz',
0,
['*'],
false
);
Count(features);