I want to do an Arcade point in polygon intersect. My points ($feature) are in one datastore (SDE database), my polygons (districts) are in another. Is this possible? I also have these feature layers (registered) in our Enterprise environment.
// Create reference to the Districts layer
var districts = FeatureSetByName($datastore,"GIS_Infra.GISADMIN.PARK_P",["NAME"],true)
// Get a feature set of zones that intersect the new POINT
var intersectingDistricts = Intersects(districts, $feature)