require(["esri/tasks/datareviewer/ReviewerFilters"], function(ReviewerFilters) { /* code goes here */ });
Description
(Added at v3.14)
ReviewerFilters limit or precisely define which results to generate by applying conditions to a query for dashboard results. Conditions can be spatial or attribute based. You can apply multiple filters to a query.
See getDashboardResults, getResults
Samples
Search for
samples that use this class.
Methods
Method Details
Queries an attribute by a value.
Parameters:
<String > fieldName |
Required |
The field used to perform the filter. |
<String | Number | Array > fieldValues |
Required |
A value or an Array of values in fieldName to filter. |
Queries an attribute by a range of values.
Parameters:
<String > fieldName |
Required |
The field used to perform the filter. |
<String | Number > min |
Required |
Minimum value range. |
<String | Number > max |
Required |
Maximum value range. |
Queries by a polygon. Reviewer workspace geometries that intersect the polygon are used to generate results.
Parameters:
<Polygon > geometry |
Required |
The geometry used to perform the filter. |
Returns the count of ReviewerFilters added.
Returns a JSON representation of a filter object.