AnsweredAssumed Answered

applyEdits works for new/delete, but not update?

Question asked by geodan7 on Apr 14, 2012
Latest reply on Apr 14, 2012 by geodan7
Hi All,

I'm working on a custom application that doesn't use the AttributeInspector/TemplatePicker...because I had to get greater control over things. Anyway, in a simple example I had worked up, I was able to applyEdits (new, updates, and deletes) i thought everything was ok. Then, I went further, creating a slightly more complex application...and somewhere along the "updates" (when calling applyEdits) fails...the feature just reverts back to whatever it was...although the onEditsComplete event is raised, I'm not able to get the FeatureEditResult object back for updates...the event simply returns "null". I am STILL able to create and save new features, as well as select and delete features.

Anyone have any ideas why applying update edits would fail? It works in a simpler page I have (although i'm using the attribute inspector there). It's not a data permissions issue because that simple page can appy all 3 types of edits. Why would the FeatureEditResult for updates return NULL???

thanks, I'm stuck!