Hi again Caroline,
I think I might have solved my problem.
When I was pulling in the url for the layer in the SelectionWidget.xml file, I was using the FeatureServer service instead of the MapServer service from my rest services directory. (The layer I am using is editible also.)
When I tried using the MapServer url I got the unique values list to populate.
Hopefully this fix will be as easy for you!
Ashlee
Let me know if these updates work
Complied with Date fix and:
FLEX SDK 4.1 and AGS FLEX 2.5
Hello, I believe the issue of the unique fields not showing up is due to how the query works. I believe the field that you are having issues with is a non-string field. If that's the case and you are working with the uncompiled version:
in utils/PagingQueryTask.as around line 184, you want to change query.text = "%" to query.where = "1=1"
I'm almost positive that change is reflected in the versions with the date and time fix found here:
http://forums.arcgis.com/threads/30179-Selection-Widget-Updated-Version?p=157653&viewfull=1#post1576...
http://forums.arcgis.com/threads/30179-Selection-Widget-Updated-Version?p=157654&viewfull=1#post1576...
http://forums.arcgis.com/threads/30179-Selection-Widget-Updated-Version?p=157756&viewfull=1#post1577...
Let me know if that fixes the issue
what is the exact issue you are facing