Hi everyone,
In Arcade function list some functions are marked 'Not available' - Why?
I desperatly need GroupBy function on hosted feature layer, server version is 10.9.1.
Any suggestion why these functions are unavailable, and how to make them available?
list of 'Not available' functions:
Attachments
everything begining with FeatureSet
Filter
GetUser
GroupBy
OrderBy
Portal
Schema
everything begining with Track
They are only available with the latest portal update whenever you upgrade your portal to the compatible version of the functions.
You can see in those release notes that GroupBy was added at 1.8, and would be in a 10.9.1 deployment.
https://developers.arcgis.com/arcade/guide/version-matrix/
If you are in an older version, the functions simply don't exist. When you see them listed as "unavailable", it means that the function isn't compatible with the particular profile your expression is being used in.
https://developers.arcgis.com/arcade/profiles/
Not all Arcade contexts are created equal. If you're writing an expression for symbology or something, you can only access a single feature's attributes, and you won't be able to do "broader" functions that involve entire layers.