I am trying to use a variable as the dataset name in FeatureSetByName, but not having any luck.
Like so:
var table = 'TestTableName'
var tbl = FeatureSetByName($datastore,table, ['Year','AsBuilt'], False)
But, arcade doesn't like it. I've tried several ways with no luck. Hoping someone here know if this is possible, and how to do it.
Thanks,
R_
Solved! Go to Solution.
I know this is an answered post but just adding this for additional info. I wrote up a post to explain why.
Why FeatureSetByName doesn't work with variables