AnsweredAssumed Answered

returnDistinctValues does not always work

Question asked by workplayce1 on Dec 22, 2014
Latest reply on Dec 31, 2014 by workplayce1



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.