Getting all elements of a service layer

Discussion created by rmartin4 on Apr 14, 2011
Latest reply on Apr 25, 2011 by DGoyal-esristaff
Hi all,

I have a rather basic question. I am using an dynamic map service in my app. I would like to query a layer in this service to retrieve *all* elements, so that the user can choose which will be displayed. Is there some sort of wildcard operator I can use in my AGSFindTask? Or a better way to do this altogether?

Thank you in advance,