Filter widget gets too much time for loading values

470
2
Jump to solution
01-21-2019 03:42 AM
by Anonymous User
Not applicable

Hi people,

I've checked that if I try to set a Filter widget for a certain 500K feature service layer from ArcGIS Server, it consumes a lot of time for requesting the attributes to be showed within the dropable bar (4 - 6minutes):

Filter widget WAB

I'd like to know if there is any possibility to have it loaded differently than getting the information from the feature requests:

One of the requests (from FireFox console):

f=json
where=((UPPER(interface_nm)%20%3D%20%27UTRAFDD%27%20AND%20UPPER(optimal_strength_nm)%20%3D%20%27FAIR%27))
returnGeometry=true
spatialRel=esriSpatialRelIntersects
maxAllowableOffset=9
geometry=%7B%22xmin%22%3A1501834.7317182496%2C%22ymin%22%3A6887893.4928513095%2C%22xmax%22%3A1506726.7015284933%2C%22ymax%22%3A6892785.462661555%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%7D%7D
geometryType=esriGeometryEnvelope
inSR=102100
outFields=*
outSR=102100

Should I make any modifications within the layer parameters or something? I'm a bit lost here...

Thanks in advance!

Juan.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Juan,

   500K features is a lot. Have you consider using "Unique (predefined)" instead? It looks like your values are pretty set and do not change all the time so that would be a better fit for you. 

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

Juan,

   500K features is a lot. Have you consider using "Unique (predefined)" instead? It looks like your values are pretty set and do not change all the time so that would be a better fit for you. 

by Anonymous User
Not applicable

Thanks Robert, exactly what I was looking for! I couldn't know HOW to set the predefined, and was clicking again on the field... my fault. For sure, for such large layer, I wouldn't need anything dynamic. Works great!

0 Kudos