When editing the visibility option with an arcade expression, I don't see any "featureset" functions, where I would normally get "featuresetbyname", "featuresetbyid", "featuresetbyrelationshipname", etc.
I'm trying to get conditional visilibity for a field based on a related table and a field previously entered by the user in the form.
Can't seem to get related attributes in the form designer.
Thanks!
Solved! Go to Solution.
There are two types of profiles available for forms, Form Calculation and Form Constraint. The Form Constraint profile is for setting such things as field visibility. Unfortunately, FeatureSet functions are not available for the Form Constraint profile. In the documentation, functions lists the profiles where it works. For example, FeatureSet works in these profiles:
Profiles: Attribute Rules | Dashboard Data | Popups | Field Calculation | Form Calculation | Tasks
There are two types of profiles available for forms, Form Calculation and Form Constraint. The Form Constraint profile is for setting such things as field visibility. Unfortunately, FeatureSet functions are not available for the Form Constraint profile. In the documentation, functions lists the profiles where it works. For example, FeatureSet works in these profiles:
Profiles: Attribute Rules | Dashboard Data | Popups | Field Calculation | Form Calculation | Tasks
Too bad. I'll see if I can find a workaround.
Thanks for your answer and documentation!
Thanks for this post! I was working on a similar line. As a workaround, I discovered that you can calculate the value you want from the fetureset into a field and then use that as an input into your form visibility calc. Not great since it essentially means you have to have calcs to do the job of one (and store the intermediary value somewhere).