I am trying to create an Arcade script to output a summary from a few Near Me widgets but I find the data source parameters hard to work with because they look something like this:
$dataSources["widget_544_output_proximity_8360612922529992-output"]
Does the string of numbers in this statement (8360612922529992) refer to something that I can somehow match to the layer? I am trying to print the name of the layer in my output and I can't tell what anything is when I add a data source from the profile variables. I have tried GetFeatureSetInfo but it returns null.
Currently, I am having to go back to connect my layers one by one to the text widget, after I create my corresponding Arcade statement for them, just so I can keep track of what is what, but it's not very efficient.
Thanks!