Filtering layers
Filtering a layer provides a means of asking questions about the features of an ArcGIS Server feature layer you have added to the map. When filtering a layer, only the features that meet the criteria specified by the filter are shown on the map. For example, you may want to specify a filter on a layer to display graffiti complaints within a specified district or city. In the ArcGIS Viewer for Silverlight, you can filter an ArcGIS Server feature layer so that only the features that meet the filter criteria are shown. To filter a layer, see the following steps:
- Open the Configure Layers panel.
- Select the layer to be filtered.
- Right-click the layer, and click Configure. Alternatively, click the Configure button at the bottom of the panel:
- On the Configuring panel that appears, click Filter:The Specify filter expression flyout appears with the Query tab selected:
- Click the Data tab to see a sampling of
the data:
- On the Query tab, enter the filter expression and click
the OK button to update the layer. For more information on filter expressions, see Building a query expression in the ArcGIS Desktop help.
1/26/2015