I have an attribute expression using in a popup which is shown in a ArcGIS web map but not in a web app or in collector.
var relatedData = FeatureSetByName($datastore,"RelatedData")
var filteredRelatedData = Filter(relatedData, Concatenate("id=", $feature.id))
var orderedFilteredRelatedData = OrderBy(filteredRelatedData, 'date DESC')
var newest = First(orderedFilteredRelatedData)
if (IsEmpty(newest)) {
"n/a"
}
else {
var installDate = newest.date
newest.name + " (" + Text(installDate, "Y-MM-DD HH:mm:ss") + ")"
}
I have already resigned to the fact that this does not work in ArcGIS Collector. And now it seems that this is also not working in a web app. This is really frustrating.
However, I am looking for a web page or document which lists Arcade limitations across all ESRI products. Any idea where I do find something like that?
PS. I do know that above Arcade expression is not performant.