Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Robert's awesome TOC widget. I want to exclude the "more" tab where your operational layers show up, because they are listed in the TOC widget.

Can I do this in the config.xml?

share|improve this question
up vote 3 down vote accepted

Assuming your talking about this More tab:
enter image description here
This is visible in the default configuration for the current v2.2 Flex Viewer. *

I assume you want to know how to remove it, as it maybe having sync problems with the TOC widget or perhaps you just don't need to show the layers via the More button AND the TOC widget?

I can't take credit for this, but found your answer (untested) in the Esri forums:

Update the Map Switcher Widget's config file.
There is a visible property on the tag which you can set to false to not show the "More" Button.


<?xml version="1.0" ?>
    <layerlist label="More..." visible="false">
        <!-- <excludelayer>TheLabelOfSomeLayerInMainConfig</excludelayer> -->
share|improve this answer
Awesome, thanks. What about excluding a base map tab next to the "More" button such as "Streets" "Aerial" etc? – pdog Apr 28 '11 at 16:39
Accept the Simon answer by clicking the tick mark button to reward him. Thanks – Omega Cancer May 11 '11 at 7:53
@pdog - those base maps are also configurable via the XML files. If you still want this answered, either re-edit your original question to include this, or ask it as a separate Q. – Simon May 11 '11 at 10:01
Exactly what I was looking for - thanks Simon. – Timothy Michael Sep 1 '11 at 21:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.