Service Layers

Discussion created by shaun_weston-eagle-co-nz-esridist on Nov 4, 2012
Latest reply on Nov 4, 2012 by Wayne_Whitley
I'm just working on a script that turns on/off various layers, which works fine for everything except service layers where I'm having to add and remove them from the document. I'd rather just have service layers in the map document and set visibility to true or false, but this does not seem to work.

So is the visible property not available with service layers? If you had service layers in your map document and wanted to turn them on and off, you can't do that?