Enable Undo or Discard after Geoprocessing.ExecuteToolAsync

346
0
12-17-2018 02:06 AM
MarioD_Amico
New Contributor II

I have noticed that some tools when executed from the Geoprocessing Tool pannel have a "start editing" check box to allow the Discard/Undo of the operation. I'm wandering if there is a way to Undo or Discard the changes made after a call to the Geoprocessing.ExecuteToolAsync method, in example after an append, a delete an union and so on.

Every time I execute it, Undo and Discard buttons stay disabled.

I have also try to wrap the call inside an EditOperation callback but I got an error executing the tool.

0 Kudos
0 Replies