Zum Hauptinhalt gehen

Clearing Highlights and Selections

Kommentare

13 Kommentare

  • Permanently deleted user

    Did you find a solution for this?

    0
  • Sean McClurkan

    Not yet.  The selection behavior from the DataPanel on the left and the ResultsTable in the bottom of the map are not consistent.  Selecting from the DataPanel will center and zoom to the feature and highlight, but does not pop a maptip, while selecting from the ResultsTable in the botton centers and zooms with a map tip.  Closing the maptip to see the feature removes the highlight for the feature, as does any mouse click within the map frame.  So far, the only thing that seems capable of removing the highlight created by selecting from the DataPanel is user mouse-click event in the map frame.  Not very useful when trying to clear the map in a workflow.

    I'm also not clear on why a Set Layer Visibility activity fails to make the layer visible in my viewer, either.

    Maybe the new version release will have some updated documentation related to the Viewer Commands.

    "Other than that, how did you enjoy the play, Mrs. Lincoln?"

    0
  • Permanently deleted user

    yes and i would like to know how to clear the data panel and clear the table panel, also.

    0
  • Sean McClurkan

    To close the ResultsTable I use the "CloseResultsFrame " command ina RunExternalCommand activity.  To close the DataPanel I use a "CloseDataFrame " command.

    0
  • Permanently deleted user

    yes that closes the panel, but it does not remove the contents or "entries".  in a long session, too many entries get in the way.   thats what i wanting to avoid, though sometimes hiding the panel is good enough.

    J

    0
  • Sean McClurkan

    Right.  Sorry.

    If your results are in a named collection, you can use a RunExternalCommand with a "RemoveCollectionById ".  Most of my result lists come from within a workflow where I outout them into named collections, so I haven't had to try and clear a global search result in the wild.  I run this at the top of my workflows so the results don't keep piling on.

    As for the ClearSelection or ClearSearch , I haven't gotten these to work.  Yet.

    Hoping . . . .

    0
  • Permanently deleted user

    So if its a collection is i use the name "XYZ" as the name of the collection is that the same as the ID?

     

    0
  • Sean McClurkan

    Yes.  After I execute a Query task, I usually do a SelectFeatures activty which provides an optional argument for CollectionName at the bottom.  Whatever name you set here can be used later to remove the content of that collection by using it as the Command Parameter in a RunExternalCommand activity.

     

     

    0
  • Permanently deleted user

    Have you tried clearing the named collection on each run of the workflow? In the SelectFeatures workflow activity there is an argument called Clear Collection First. Set this to True and the named collection is cleared each time you run the workflow without having to run any other activity.

    0
  • Permanently deleted user

    I will try both of those.  

    thank you,

    J

    0
  • Sean McClurkan

    DOH!  

    I always forget that there are more arugments over there in the Properties dialog.  That would be more efficient.

    sigh.

    0
  • Permanently deleted user

    anyone get these to work yet?

     

    We have been trying to get clearselection/clear highlights to work in HTML5 2.4.  No luck yet...

     

    0
  • John Nerge

    I've used the ClearHighlights command in multiple workflows in the GVH 2.4.1 and it works just fine.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.