I have recently been working on porting our custom widget from version 1.0 to version 1.1.
The same code was working in 1.0 but no longer seems to respect selected features in 1.1.*
//Gets the specific graphicsLayer requested
var layer = this.map.getLayer(this.map.graphicsLayerIds);
//Verify the layer is a feature layer from base type graphics layer
if (layer.type && layer.type === "Feature Layer")
{
var features = layer.getSelectedFeatures();
//The map shows features selected within a popup, but this code always returns a zero count in 1.1
var count = features.length;
}Did something change between versions in this code logic?
Why would the features.length be zero, but the feature layer popup show features?