AnsweredAssumed Answered

Enable Undo or Discard after Geoprocessing.ExecuteToolAsync

Question asked by mario.damico on Dec 17, 2018

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.

Outcomes