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
@DavidNyenhuis1 @ZoeyZhang is the attachments function not available in Enterprise?
Hi John,
I'm not familiar with the specifics on Arcade functions in Enterprise for the popup profile. But, in testing it, it appears not to be listed.