AnsweredAssumed Answered

WPF API and Deleting features using FeatureLayer

Question asked by spiskulaesriuk-esridist Employee on Feb 9, 2015

Hi

 

Is it possible to delete features from FeatureLayer if Mode = SelectionOnly ?

For manipulating features I use the Editor class. It all works fine if Mode=OnDemand - once I select a feature I can successfully delete it. But once I change the mode of the layer to SelectionOnly removal is not possible - although the feature disappears from the map it is not removed on the Feature Service side.

 

On the other hand when Mode=SelectionOnly there is no problem creating new features. They are successfully stored on the server side.

 

For all of the time I have Autosave = True on the FeatureLayer. I am on WPF SDK 10.2.5

 

Regards

Szymon

Outcomes