use the 'returnDistinctValues' in the query as described here.http://forums.arcgis.com/threads/95739-Why-isn-t-quot-returnDistinctValues-quot-an-option-for-the-quot-Query-quot-object-in-the-JS-API
I guess that performance will be poor if I increase this value. So ideally I want to avoid querying and just retrieve the full attribute list without geometry attached to it. Then I can run through that and produce the list I need.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.