Arcade and Attribute Rules FeatureSetByName

631
3
Jump to solution
03-20-2023 12:24 PM
BrianBulla
Occasional Contributor III

Hi,

Can anyone see what the problem might be with this line of code.  I've only just started messing with Arcade, but to me everything seems to be ok, it's just not recognizing the feature set name for some reason.

BrianBulla_0-1679340241321.png

 

0 Kudos
1 Solution

Accepted Solutions
JohannesLindner
MVP Frequent Contributor

Is that the actual name? Check it in the layer's properties, could be an alias.

Is the Land_grid fc in the same database as the fc for which you are creating the attribute rule?


Have a great day!
Johannes

View solution in original post

3 Replies
JohannesLindner
MVP Frequent Contributor

Is that the actual name? Check it in the layer's properties, could be an alias.

Is the Land_grid fc in the same database as the fc for which you are creating the attribute rule?


Have a great day!
Johannes
BrianBulla
Occasional Contributor III

Thanks!  The feature class was in a different database, so that seems to have been the issue.  Is there a way to reference a dataset in a different database?  Or does everything have to be in the same one for things to work??

0 Kudos
JohannesLindner
MVP Frequent Contributor

Yeah, if you want to access another table in attribute rules,  it has to be in the same database.

In other profiles (eg field calculation or popup), you can also access fetauresets from the map or from Portal/AGOL.


Have a great day!
Johannes
0 Kudos