I'm trying to populate a field in my Site Address layer with the Parcel ID of the intersecting parcel. After making several attempts and researching the docs I'm finding this isn't possible? I am unable to use FeatureSetByName because I can't access the $map global because I'm using ArcGIS Pro. And I can't use $datastore because my parcel layer is in another location. Is that correct? Right now my solution is to copy the parcels to the same file gdb as my site address layer and use that layer for my intersecting features.
The documentation isn't very clear on the $map global only being available in ArcGIS Online. Every time I try to use it in my attribute rule expression it says $map object is not available. The docs say I can use it in the Attribute Rules profile, but all I get is this:
Here's a paragraph from the docs saying I can use it in the Attribute Rule profile:
A collection of FeatureSets. This data type is only used when working with the
$datastoreglobals available in the Popup, Field Calculate, and Attribute Rule profiles. The
$maprepresents a collection of layers (or FeatureSets) in the map of the feature executing the Arcade expression. The
$datastorerepresents a collection of layers in the same feature service as the feature executing the Arcade expression.
I would really like it if I didn't have to copy my parcel layer over to the same geodatabase. Has anyone done this? Xander Bakker - any thoughts?