Zum Hauptinhalt gehen

Clear Filter with Empty String

Kommentare

2 Kommentare

  • Amanda Frech
    Hi Walter,

     

    Normally putting an empty string in the SetLayerDefinition activity will clear any previously set filters.  Are you certain you have the correct service and layer id set? Have you included a RefreshMap activity to refresh the service in the viewer?  If for some reason an empty string won't work, another definition you could try is "1=1".

     

    It isn't possible to have nothing selected by default for the listbox. You can however specifcy the default selection using runtime modifications, or depending on your circumstances, add an empty entry to the start of the listbox to be the default selection.

     

    I hope that helps,

     

    Amanda

     

     
    0
  • Permanently deleted user
    Amanda,

     

    Thank you for your assistance. Your suggesions proved successful.

     

    Walter

     

     
    0

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