@pauline1985 - conditional visibility uses the Constraint profile, so building on what jcarlson posted above, if you change the profile in the Arcade Playground to Constraint, you'll be able to see which functions will work and which ones will not. The profile is based on where you are working, it's not something that can be changed - for instance if you are adding expressions to a popup, it will use the Popup profile, if you are adding expressions for labels it will use the Label profile, etc.
Arcade works in a number of different Profiles, and depending on which profile you're using, certain functions won't be available.
Ok and How Can know which is my profile and how i can used it correctly?
If you read the page I linked you to, the different profiles are based on the context in which you're using Arcade. Symbology, for instance, is its own profile, with different capabilities than the Attribute Rules profile.
For testing purposes, the Arcade Playground lets you troubleshoot an expression, and you have the option of choosing which profile you want the system to emulate.
Hi @pauline1985 ,
Where in Field Maps web are you adding the arcade expression? Each arcade function is associated with one or more profiles which determine where the function will work. The Feature Set functions work with the Attribute Rules, Dashboard Data, Popups, Field Calculation, Form Calculation, and Task profiles. If you are trying to use them someplace other than those areas they will not be available.
Chris
Hi!
Im trying to write my expression into the parameters of the layer.
But I can not change the profile.
@pauline1985 - conditional visibility uses the Constraint profile, so building on what jcarlson posted above, if you change the profile in the Arcade Playground to Constraint, you'll be able to see which functions will work and which ones will not. The profile is based on where you are working, it's not something that can be changed - for instance if you are adding expressions to a popup, it will use the Popup profile, if you are adding expressions for labels it will use the Label profile, etc.
Ok I see. Thank you for your answer