From times to times our technicians that are editing the data in a geodatabase enterprise are deleting unwillingly some features because they did not noticed they were selected when they press delete.
I wonder if there is a way to add a warning popup when the save edits button is clicked that will list the number of features that were edited or deleted for each layers with an approve and a cancel buttons.
I am familiar with arcpy and a little bit with ArcObject. Is this something possible to achieve? Any ideas how?
Hi Maxime,
You can use event OnSaveEdits from IEditEvents2:
http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#IEditEvents2_OnSaveEdits.htm
Sample how to use events listening:
Hi Maxime,
To get the pop message, You need to go for customization. ArcGIS Editor extension can help accessing the editor and saving events.
You can invoke a pop-up message in OnBeforeStopEditing the event. Let me know if you require more details.