AnsweredAssumed Answered

Programatically add feature to Feature Layer with ArcGIS JavaScript API

Question asked by daniel.gray on Jan 27, 2015
Latest reply on Jan 27, 2015 by kenbuja

I've so far been able to add a feature layer from an ArcGIS server, and I've also been able to add an editor widget which allows me to draw to feature with the mouse. The added features are being correctly committed to the server, and are visible from other viewers as well as in the SDE database. I have also been able to add the Editor toolbar and edit the existing polygon features.


However, I'm now looking for a way to add a feature without using the widget, just using JavaScript code. The closest thing I found was but it discusses .NET and doesn't look similar to the way something like that would be achieved in Javascript. Where would the best starting point be for doing something like this?