Select to view content in your preferred language

Undo last vertex added in Geoprocessing widget tool?

2060
3
03-10-2016 03:13 AM
JohnGrogan1
New Contributor III

I have a Geoprocessing service (written in Python) used in a WebAppBuilder application (Geoprocessing widget). For a GPFeatureRecordSetLayer parameter the drawing tools work well, but when the Escape key is pressed I would like to undo the last vertex digitised rather than delete the complete shape.  I am fairly proficient in Python, but less so in JavaScript/widget customisation.  Any advice welcome.

0 Kudos
3 Replies
JohnGrogan1
New Contributor III

Anyone able to provide any advice on this?

0 Kudos
RebeccaStrauch__GISP
MVP Emeritus

I have noidea if this would work.... but have you tried CTRL-Z  yet?  That is how you would undo a single vertex add (one at a time) in a regular ArcMap edit session.  I'm not sure if that would work in a GP service or not.

0 Kudos
JohnGrogan1
New Contributor III

Thanks for the suggestion but CTRL-Z doesn't work. 

0 Kudos