AnsweredAssumed Answered

Why is FeatureLayerView trying to execute on my non-spatial (Table) FeatureLayer for Esri JS 4.11?

Question asked by IDM801791401_ohiostate on Jun 13, 2019
Latest reply on Jun 13, 2019 by odoe

"[esri.views.2d.layers.FeatureLayerView2D] #resolve() Failed to resolve layer view" comes up in my console when I am simply creating a table FeatureLayer, after looking at documentation I would have assumed that the API would have known that it does not need to display graphics for this FeatureLayer because it has none. I am creating it as shown here in Esri documentation: 

 

// Non-spatial table in San Francisco incidents service.

const table = new FeatureLayer({

url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/SF311/FeatureServer/1"

});

Outcomes