I am experiencing an issue where an arcade expression that functions properly in the web browser field maps setting does not seem to work in the field maps app. I receive a 'Failed to calculate'. I am attempting to set up inspections that auto populate, but I am unable to get any of the data fields to transfer over when using the app. Can you please provide some guidance on how to resolve this issue? Thank you.
var parent_id = $feature.GUID
Var related_Manholes = FeatureSetById($datastore, 2,['GlobalID', 'assetid'], false)
Var parent_Manhole = First(Filter(related_Manholes, 'GlobalID = @parent_id'))
if(parent_Manhole == null){
return
}
else {
return parent_Manhole.assetid
}
Solved! Go to Solution.
var parent_id = $feature.GUID
var Layer = FeatureSetByName($map,"Pipeline Device", ["GlobalID"]);
Var parent_Manhole = First(Filter(Layer, 'GlobalID = @parent_id'))
return parent_Manhole.objectid
var parent_id = $feature.GUID
var Layer = FeatureSetByName($map,"Pipeline Device", ["GlobalID"]);
Var parent_Manhole = First(Filter(Layer, 'GlobalID = @parent_id'))
return parent_Manhole.objectid