Hi -
I have a feature service with a polygon layer (SNP_PROJECT) and a related point layer (SNP_PHASE), they are related (SNP_PROJECT_PHASE) using globalID and GUID. I would like to field calculate the ID field in the related point layer using the ID from the parent polygon layer using an arcade (or python) expression in ArcGIS Pro. This is what I have, but it is not working. I would appreciate any suggestions. Thanks!
var related = FeaturesetByRelationshipName($feature, "SNP_PROJECT_PHASE")
return related.PROJECTID