Select to view content in your preferred language

GroupBy function Not available on Enterprise Portal 10.9.1

380
2
05-23-2024 12:48 AM
Sunnny
by
Emerging Contributor

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

 

0 Kudos
2 Replies
RPGIS
by
Frequent Contributor

They are only available with the latest portal update whenever you upgrade your portal to the compatible version of the functions.

Release notes | ArcGIS Arcade | ArcGIS Developers

0 Kudos
jcarlson
MVP Esteemed Contributor

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/

jcarlson_0-1716472086612.png

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.

- Josh Carlson
Kendall County GIS