Hi Jeff,I don't think this is related to the symbol type... we did some work with editable FeatureLayers a while back, and found that the layer had to be fully refreshed before attempting to do anything else with a newly added feature. We were using the draw toolbar + TemplatePicker, not the Editor. So, in our (admittedly completely different) scenario, it went:1. Apply edits2. Refresh the layer3. Use the ObjectID value from FeatureEditResult to query the [refreshed] dataset & select the new feature.
featureLayer.applyEdits([newGraphic], null, null, function (res) {
// res is of type FeatureEditResult.
// Need to query *again* to get the new object from its ID.
// ORLY? YARLY.
on.once(featureLayer, 'update-end', function(error, info){
var query = new Query();
query.objectIds = [res[0].objectId];
featureLayer.selectFeatures(query, FeatureLayer.SELECTION_NEW, function (result) {
// Your stuff here, or in the callback function.
if (typeof(mycallbackfunction) == "function") {
return mycallbackfunction(newGraphic);
}
});
});
// Fire the layer update.
featureLayer.refresh();
});
That's butchered from a module elsewhere, so I doubt it'll "just work" for you... In fact, looking at it now, I'm amazed it hasn't fallen over already. But still, try refreshing the layer & see where you get to.