@ZachBodenner,
I've moved out of the hosted feature class and into two other test environments and this is what I get.
gdb: Original code passes linter and rule is applied. ArcGIS Pro works as expected passing value to child.
var parent_fs = FeatureSetByRelationshipName($feature, "t12_projects_rc")
var parent = First(parent_fs)
if(parent == null) { return }
return parent.project_pw
edgb: The linter rejects the code above (and OP code). The linter only accepts this code (no First()), as you suggested. However, once the rule is applied, the child table does not work. No value is passed to child in ArcGIS Pro, and errors occur published web apps.
var parent_fs = FeatureSetByRelationshipName($feature, "t12_projects_rc")
if(parent_fs == null) { return }
return parent_fs.project_pw
I tried both traditional and branch version db connections. Any other ideas?
Tyler
Enterprise 11.2
ArcGIS Pro 3.2.0