I am using ArcGIS Enterprise and have published a service containing multiple layers organized as follows:
Group A
Sub-Group A
Layer A
Layer B
Layer C
Group B
Sub-Group B
Layer D
Layer E
Layer F
I want to develop an application in Experience Builder that includes a map and allows users to view only one layer at a time. To achieve this, I need to enable the "Exclusive Visibility" option.
However, when I open my map in Map Viewer, I select a layer, go to settings, but I can't find this option! Interestingly, if I add a single map, the option appears.
From my research, it seems that grouping layers is required to enable this option. However, my layers are already organized into groups. Even if I try to group them again, the "Exclusive Visibility" option is only activated for "Sub-Group B" but not for its individual layers.
Does anyone have a solution to this issue?
Solved! Go to Solution.
Exclusive visibility is a property of groups of layers, not individual layers in your map. In the provided structure, you should only be able to see an "Exclusive Visibility" option for "Group A", "Sub-Group A", "Group B" and "Sub-Group B".
By enabling exclusive visibility on Group A, you would have the option to have "Sub-Group A" on or another Sub-Group/Layer that is the same layer as Sub-Group A. By enabling Exclusive Visibility for Sub-Group A. you would only be able to have either Layer A, Layer B, or Layer C at the same time.
Finally, Exclusive Visibility only applies to the first level of items that are nested inside of that group for which Exclusive Visibility has been activated. Therefore applying Exclusive Visibility to Group A would not prevent multiple layers from being on at the same time inside of Sub-Group A. Nor would it impact the ability of multiple items to be on from Group B or Sub-Group B.
Exclusive visibility is a property of groups of layers, not individual layers in your map. In the provided structure, you should only be able to see an "Exclusive Visibility" option for "Group A", "Sub-Group A", "Group B" and "Sub-Group B".
By enabling exclusive visibility on Group A, you would have the option to have "Sub-Group A" on or another Sub-Group/Layer that is the same layer as Sub-Group A. By enabling Exclusive Visibility for Sub-Group A. you would only be able to have either Layer A, Layer B, or Layer C at the same time.
Finally, Exclusive Visibility only applies to the first level of items that are nested inside of that group for which Exclusive Visibility has been activated. Therefore applying Exclusive Visibility to Group A would not prevent multiple layers from being on at the same time inside of Sub-Group A. Nor would it impact the ability of multiple items to be on from Group B or Sub-Group B.