All -
I've been trying to find my problem for days and am stuck. The attached snippet has code that updates feature attributes inside an Edit Operation. When executed the updates are applied as expected, but the ArcGIS Pro "Undo" does not become enabled.
The crux of the code is below. The code is attached.
Any suggestions would be GREATLY appreciated.
Thx,
Ed
---------------------------------------------------------
EditOperation editOperation = new EditOperation() { Name = "Roll Phases" };
editOperation.Callback(context =>
{
// update stuff
}, listOfFeatureClasses);
try
{
bool creationResult = await editOperation.ExecuteAsync();
}
catch (GeodatabaseException geoex)
{}