Hi,
I have a map service published with 250 layers. I need only 20 layers out of them to work on. When I add this service as ArcGISDynamicMapServiceLayer on map, all 250 layers are shown on map as well as in legend (TOC) also. Can any one help me how to access only required layers (based on name or ID etc.,) from a map service in ArcGISDynamicMapServiceLayer?
I do not want to add each layer separately on map as feature layer and make my map bulky with layers.