Using:
var queryTask = new QueryTask(layer.layerObject.url + "?returnDistinctValues=true");
But sometimes this works and sometimes it does not.
Are there any server settings for each layer (featurelayer) that needs to be specified precisely to make the returnDistinctValues=true work?
Using v. 3.10.
Hi,
I am able to upgrade to 3.11/3.12, and it works, but for some of those urls does not work...
Worked for utility.arcgis.com/usrsvcs...
doesn't work for services2.arcgis.com urls...
API doc says ArcGIS Server 10.1 Service Pack 1 required. Is it poss that services2.arcgis.com fails this requirement..?
Just wondering...