Hey,
There are number of ways in which you can get access to the newly created feature:
- The editor internally uses the drawTool to create features, the drawTool is exposed as a property on the editor. So you listen to the drawEnd event on it and access the feature
- The out-of-the-box-behavior with the editor is such, that whenever you create a new feature, its automatically selected, if in your case that is the only selected feature, you can look at the featureLayer.selectedFeatures.
- you can listen to graphicAdd on the featureLayer, fired every time you add a graphic(feature) to it
Hope that helps.
--Sarthak Datt