I have a hosted feature service with Attachments, and I want to create a list of indices of the attachments per feature. Ultimately, I want to get the position of each attachment per feature.
I used Array(Count(Attachments($feature)), which creates an array based on the number of attachment the feature has, but I'm stuck here. I'm new to Arcade and will appreciate any help!