Hi. I'm finding that the 'Attachments' arcade function does not work with enterprise map or feature services (that is on prem ArcGIS server service). AGOL Map viewer - the popup profile. It does seem to work for a hosted feature service. Is this expected or is there a bug?
As a simple test, I have the following arcade expression
if (Count(Attachments($feature)) > 0) {
return 'ID: ' + Text(First(Attachments($feature)).ID);
} else {
return 'No attachments';
}
Here is what I'm seeing in the popup
Clearly, there are 2 attachments for this feature, so it should return the id of the first one based on my expression.
Anyone run into this?
Thanks