Here is the JavaScript (4.28):
theFeatureLayerToQuery.when(function(){
mapView.whenLayerView(theFeatureLayerToQuery).then((theLayerView) => {
reactiveUtils.whenOnce(() => !theLayerView.updating).then(() => {
theLayerView.queryFeatures({outFields: ["*"] }).then(function(results){
console.log(results);
});
});
});
The results in the console log show that there are 32 fields:
The results in the features.attributes only show 4 attributes:
I understand that the local queries on the FeatureLayerView are supposed to be more performant than against the FeatureLayer. However, I can't get to 28 of the 32 fields I need to do interesting things. How can I get all the fields into features of my FeatureLayerView ?
TIA
(one of these days: CodePen)