Attribute Rule with geometry fails in Web App but not in Pro.

06-30-2020 08:36 AM
Occasional Contributor III

I have a simple attribute rule that works in Pro but fails in the web map/app.  All of my other rules work that do not have geometry functions in both.  Is there something I am missing?  In the web app and Survey123 I get a "missing geometry" error which tells me its not seeing the 'fc' layer.

var fc = FeatureSetByName($datastore,'SUDOECMS.DBO.LEGAL', ['*'], true);
var qtr = FIRST(within($feature, fc))
if ( !IsEmpty(qtr)) {

return qtr.FullDesc
else {
return $feature.legaldesc
Tags (2)
0 Kudos
0 Replies