Hi All,
I hosted the attached sample data on AGOL. I am trying to run the following arcade expression while configuring popup for the "Permits" layer.
var fs = FeatureSetByRelationshipName($feature, 'Permits_RelatedTbl_1', ['*'], false);
return fs;
However, I run into an error while testing the expression.
Execution Error:An error occurred.
There is a relationship as defined in the layer
"relationships" : [
{
"id" : 0,
"name" : "Permits_RelatedTbl_1",
"relatedTableId" : 1,
"cardinality" : "esriRelCardinalityOneToMany",
"role" : "esriRelRoleOrigin",
"keyField" : "globalid",
"composite" : false
}
]Any ideas ?