Hey folks, currently trying to dynamically build a FeatureSetByName query but am getting the notorious 9999999 error in ArcGIS Pro 2.6.6 for even a simple case. Does anyone know if this is possible or if I'm going about it the wrong way?
var s ="indxltm_region_ltm5000"
var x = FeatureSetByName($datastore, s , ["OBJECTID", "PLAN_NAME"], true)if (Count(x) > 0) { return first(x).PLAN_NAME
}