Filter
The Filter tool is available for specific layers. A filter can be applied to individual layers (with the exception of cached map services published from ArcGIS Online) in order to limit the features
displayed on the map to those that meet the filter definition/criteria. More specific details on how to develop
queries that define filter criteria (e.g., querying numbers, combining
expressions, using nulls), are provided in the Build a Query topic.
- Create Filter
- Modify or Remove Filter
- NOTE: The Filter option is not available for cached map services published from ArcGIS Online because such services do not support all of the capabilities of those published through ArcGIS Server.
Create a Filter
- Within the Layers tab of the Map, click the dropdown
icon to the right of the service to be
filtered and choose Filter from the available options.
- NOTE: The Filter option is not available with cached map services, only dynamic services.

- If the Resource contains multiple layers, a dropdown
identifying the layers will be displayed. Select the layer to be filtered from the Layer dropdown list.
- NOTE: If the Resource contains only a single layer, the Layer
dropdown will not be displayed.
-
- Select the attribute to use in
the query from the Attribute dropdown, and then click Select.

- Click an operator (=, <>,..)
- To see a list of values for the attribute, click Get Unique
Values
. Double-click one of the values
or alternatively, type an expression directly into the query field.

- NOTE: If Get Unique Values returns no records for lack of data in the attribute, a message will be displayed to indicate that No unique values were found for this attribute.
- NOTE: If Get Unique Values is used on a layer with many
records, the following message is likely to be displayed. Respond Yes to continue or No to cancel the
search for unique values.
-
- Click Apply to apply the filter and keep the Filter dialog
open or click OK to apply the filter and close the Filter dialog.
- NOTE: If there is a typographical error, or the filter has been improperly defined (i.e.,
‘Vascular plant’ instead of ‘Vascular Plant’), no records will be displayed.
- The number of records resulting from the Filter will be reported.

- Within the Map Resources dialog, (Filtered) will be
displayed next to the service name to indicate that the service has been
filtered.

Modify or Remove Filter
- To change or remove a filter, in the Layers tab, click the dropdown
icon to the right of the layer that is filtered, and choose Filter from the available options.
- To remove the filter:
- Hover over the layer name and click the dropdown
icon to the right to view the tasks available for the layer. Select Clear Filter. - Alternatively, within the Filter dialog, click the Clear Attribute Filter Parameters
icon in the Filter dialog. - Within the Feature Search tab of the Map, expand the Current Layer Filter accordion section and click Clear Filter
. - To modify any part of the filter expression:
- Place the cursor
within the sequence and use either the <Delete> or <Backspace>
keys to remove the desired part(s).
- Click Apply to apply the revised filter and keep the Filter dialog
open, or click OK to apply the filter and close the Filter dialog.