Please add a function that quickly converts a Featureset into an Array.
As discussed in this thread, it's sometimes necessary to convert a Featureset into an Array, but loading the Featureset takes a long time, especially accessing it for the first time.
So instead of this:
var fs = FeaturesetByPortalItem(Portal("https://arcgis.com"), "2b93b06dc0dc4e809d3c8db5cb96ba69", 0)
var fs_arr = []
for(var f in fs) {
Push(fs_arr, Dictionary(Text(f)))
}
return fs_arr
It would be helpful (and hopefully much faster) to have a function like this:
var fs = FeaturesetByPortalItem(Portal("https://arcgis.com"), "2b93b06dc0dc4e809d3c8db5cb96ba69", 0)
var fs_arr = FeaturesetToArray(fs)
return fs_arr