AnsweredAssumed Answered

FeatureLayer.applyEdits - ArcGIS JavaScript 3.8 and ArcGIS Server 10.2

Question asked by JSim on Apr 30, 2014
Latest reply on May 1, 2014 by JSim
Sorry for the vagueness of this question, I just started looking into it and haven't found much information yet.

A bug has appeared in my featureLayer saving code after updating our servers to 10.21 from 10.0x and our JavaScript API from 3.7 to 3.8
I'm wondering if anyone else has encountered something similar or if there is any information out there on what may have changed with featureLayer.applyEdits()

Here is my current process of what is happening (this used to work before, I can't guarentee the upgrades to 10.2 and 3.8 were the problem, this code hadn't been tested in a couple months):

  1. Draw a Polygon on the map

  2. Polygon gets added to adds array

  3. applyEdits request is sent to the server

  4. response comes back something like "[undefined,[],[]]" where undefined = the adds response (the others are empty as expected... No updates or deletes performed)

Any suggestions? I'll add on to this with any other information I come up with.

Thanks,
- Jamie

Outcomes