clear results geoprocessing trace network

2506
4
05-21-2016 10:37 PM
SibghatUllah1
Occasional Contributor

I have successfully run my trace geometric network geoprocessing service. My GP trace service contains  many output operational layers as shown.Is there any method to clear all the results just like for input "clear flag clears" all the flag.Clearing all by clicking X button is not good practice.

Trace.JPG

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Sibghat,

  The GP Widget does not have a clear all results option that I am aware of so, no.

0 Kudos
SibghatUllah1
Occasional Contributor

Ok thank you Robert,So i have to create a new widget to remove operational result layers??

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Sibghat,

  If you want to do them all at once instead of the OTB method of clicking the "x" on each one then yes or dig into the widgets code and see if you can figure out how to modify the GP widget to add this functionality.

0 Kudos
CarmellaBurdi1
New Contributor III

This is a bit old - but I thought I'd see if you ever figured out a "clear all" button. It would be quite handy to have!

Carmie

0 Kudos