Is there a way to check for unsaved edits?

616
2
Jump to solution
12-13-2018 08:43 AM
KylePerri
Esri Contributor

I have an add-in that imports data using the JSON To Features conversion tool, but when there are unsaved edits it will fail. I was wondering if there is a way to check if the user has unsaved edits so I can tell them to save before importing their data. For now I'm just using a try catch block.

0 Kudos
1 Solution

Accepted Solutions
RichRuh
Esri Regular Contributor

This will tell you if the project has unsaved edits.

Project.Current.HasEdits

View solution in original post

2 Replies
RichRuh
Esri Regular Contributor

This will tell you if the project has unsaved edits.

Project.Current.HasEdits
KylePerri
Esri Contributor

Thanks Rich!

0 Kudos