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.
Solved! Go to Solution.
This will tell you if the project has unsaved edits.
Project.Current.HasEdits
This will tell you if the project has unsaved edits.
Project.Current.HasEdits
Thanks Rich!