I subscribe in my code the EditCompletedEvent in ArcGIS-Pro. When the user stops an edit session my method onEditComplete is called.How can I decide in my code whether the user saved or canceled the edit session. I think EditCompletedEventArgs do not support such an analysis.
Currently there is no public event for save or discard. This is being addressed for the next release and will either be a new event or an extension of EditCompletedEventArgs.
Please let us know if you have any other edit event requirements.
Any progress on this? czent-esristaff
Maybe EditCompletedEventArgs.Members is an empty collection if edit session is cancelled?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.