This is my first time working with Arcade and Attribute Rules is ArcGIS Pro 2.9. I'm working on rules to assist with the development of Address Points. One task, when creating or updating an address point I need to pull the parcel number value from our Tax Parcel data using an intersect. When trying to specify the TaxParcelPoly to pull the parcel number I get an error message. I don't have a good understanding of how database should be called using Arcade.
This is the statement that I have so far:
var fsTaxParcel = FeatureSetByName($datastore,"GISdw.DCL.TaxParcelPoly",["PARCELNO"])
var fsParcelIntersect = Intersects(fsTaxParcel, $feature)
var ParcelNum = First(fsParcelIntersect)
Error Message: Invalid expression. Error on line 1. Table not found GISdw.DCL.TaxParcelPoly