ArcMap - Adding a popup warning on save edits

641
2
07-10-2019 12:32 PM
MaximeDemers
Occasional Contributor III

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?

0 Kudos
2 Replies
by Anonymous User
Not applicable

Hi Maxime,

To get the pop message, You need to go for customization. ArcGIS Editor extension can help accessing the editor and saving events.

https://github.com/Esri/arcobjects-sdk-community-samples/blob/master/Net/Framework/AddInEditorExtens...

You can invoke a pop-up message in OnBeforeStopEditing the event. Let me know if you require more details. 

0 Kudos