Select to view content in your preferred language

LiveMapsWidget (SFV1.3)-exclude layers from TOC

3072
0
11-07-2010 10:38 PM
mei09
by
Deactivated User
Hi

I have a published map service which has 2 main group layers (the map service cannot be split into 2 separate map services).

Depending on who is viewing the map application (there is code which checks for who is accessing the map application), is it possible to just show only 1 of the group layers at a time?

ie: in the mxd: the layers would be:
   Layers
     Group1
        layer1
        layer2
     Group2
        layerA
        layerB

So in the application, when users from Group1 open the LiveMapsWidget, the TOC would show:
       MapServiceName
          Group1
             layer1
             layer2

while users from Group2 would see:
       MapServiceName
          Group2
             layerA
             layerB


any suggestions would be appreciated. thanks
Tags (2)
0 Kudos
0 Replies