I am looking for a way to return the layer name (as seen in the table of contents) using Arcade in a popup in AGOL.
Reason - I have 60+ individual study areas and when a user clicks on one it would be nice to have the pop up tell them which one it is. Each study area only has 1 feature in it. The attributes do not, currently, contain the study area name.
Solution 1 - add a field for each study area and include the name for easy pop up
Solution 2 - find out if Arcade can do it already
I know solution 1 will work but I am more intrigued to understand Arcade better and see if this is a function exists!