laptop and a wrench

Bug

The event object returned to the callback of the FeatureLayer's applyEdits method is not the same as the event object returned by the "edits-complete" event.

Last Published: October 9, 2017 ArcGIS API for JavaScript
Bug ID Number BUG-000107708
SubmittedAugust 30, 2017
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found3.21
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

You need to use the following signature: featurelayer.applyEdits(null, [gra], null, function (addResults, updateResults, deleteResults) { console.log("The arguments passed to callback function in the applyEdits method"); console.log(addResults, updateResults, deleteResults); }); for: 1. callback passed to the applyEdits function – like in the above-referenced snippet. 2. callback registered with the deferred object returned by applyEdits. 3. callback registered for the legacy onEditsComplete event

Steps to Reproduce

Bug ID: BUG-000107708

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options