So the REST endpoint exposes a "Return Distinct Values" option... I am needing this in our WPF app (using 10.1.1) but do not see any options for this in the QueryTask or Query classes. Am I missing something? How might I achieve this functionality short of having to pull everything down and do it client side? I would say we could write a sub query into the where clause but the services don???t expose the feature class name. Hoping I'm just overlooking the option for this.
Found this similar post in the Silverlight forum: http://forums.arcgis.com/threads/76775-Distinct-Query. Guessing the WPF API will be implementing this feature soon too, hopefully in 10.2. For the time being citrusmosquito kindly gave some code that supports using this feature. Compiles just fine in WPF. Thanks!
Found this similar post in the Silverlight forum: http://forums.arcgis.com/threads/76775-Distinct-Query. Guessing the WPF API will be implementing this feature soon too, hopefully in 10.2. For the time being citrusmosquito kindly gave some code that supports using this feature. Compiles just fine in WPF. Thanks!
The forthcoming 10.2 release contains a number of enhancements to provide access to new capabilities and functionality in ArcGIS for Server 10.2 - including ReturnDistinctValues for queries.