Want to prevent autosaving of Editor widget.

08-01-2016 07:34 AM
New Contributor II

Feature created automatically gets saved after clicking on map.I want to save features on Save button with Editor widget

0 Kudos
3 Replies
Esri Esteemed Contributor

Hi Harshita,

I believe the following sample is what you're looking for:

Using the attribute inspector | ArcGIS API for JavaScript 3.17

New Contributor II

Hi Jake,

Can it not be done using editor widget?? Actually as soon as I select the template and click on map, the feature gets saved in database. I want to apply validations and after clicking on save button,the feature should be saved.

0 Kudos
MVP Honored Contributor

Take a look at this discussion over on gis.stackexchange about overriding the standard applyEdits function to allow for validation.