<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sublayer Question in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/sublayer-question/m-p/543845#M15396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Timothy,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; The sublayer tag is only for specifying a particular popup for a layer or a definitionexpression. Read more about what is supported as far as layers and what sublayers are for here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/01m3/01m30000000p000000.htm"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/01m3/01m30000000p000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you have a grouped layer in your MSD and publish that to ArcGIS Server than that grouped layer will be there and display just like it does in ArcMap when using my TOC widget. If you are wanting to add just certain layers of a map service then you need to look into the visiblelayers and definitionexpression&lt;BR /&gt;&lt;BR /&gt;Don't forget to &lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt; on this post and to &lt;STRONG&gt;click the top arrow (promote).&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt; as shown in the below graphic:&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I finally figured it out, thanks to you, but I have another sort of related question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; I have a Layer Group in the MXD named Electrical with two layers in it: Handholes and Manholes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; I created the MSD. Brought into the Flex Viewer using your TOC Widget. Works good, the Layer Groups appear as long as Electrical is dynamic. Except for one thing, not sure if this can be modified or not:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; The REST Service name is "Electrical", the Layer Group name is "Electrical". In the TOC both show up, the Layer Group is nested in the REST Service, both with check boxes next to them. Is there a way to remove one of labels "Electrical" along with it's associated check box, and still keep the Layer Grouping? I could rename one to "Electrical Assets" and keep one as "Electrical". But this still leaves those two check boxes. My goal is to have one check box and name "Electrical" and the nested layers (with their check boxes) inside it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for a TOC format like this (this is not code, it's for illustrative purposes only):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;chkbox&amp;nbsp; Electrical &amp;lt;-- name of Layer Group or REST Service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chkbox Handhole &amp;lt;-- nested under Electrical&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chkbox Manhole &amp;lt;-- nested under Electrical&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment here is what it looks like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;chkbox Electrical &amp;lt;-- name of REST Service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chkbox Electrical &amp;lt;-- name of Layer Group nested under REST Service Electrical&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chkbox Handhole &amp;lt;-- name of Layer nested in Layer Group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chkbox Manhole &amp;lt;-- name of Layer nested in Layer Group&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are your thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Jun 2012 16:48:51 GMT</pubDate>
    <dc:creator>TimHayes</dc:creator>
    <dc:date>2012-06-10T16:48:51Z</dc:date>
    <item>
      <title>Sublayer Question</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/sublayer-question/m-p/543843#M15394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a Layer Group in my msd. I am using the TOC sample here: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.arcgis.com/home/item.html?id=e2cb71d5c04d40d19e9f945ae0db7ce8" rel="nofollow" target="_blank"&gt;http://www.arcgis.com/home/item.html?id=e2cb71d5c04d40d19e9f945ae0db7ce8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works great except I cannot figure out how to add a sublayer. The Layer Group is Electrical. Can someone let me know how to code &amp;lt;sublayer&amp;gt; the correct way? here is a small cut from the Layers in my config.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;operationallayers&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layer type="feature" label="Pipes" url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://PrometheusServer/ArcGIS/rest/services/FlexTOCTest/MapServer/5" rel="nofollow" target="_blank"&gt;http://PrometheusServer/ArcGIS/rest/services/FlexTOCTest/MapServer/5&lt;/A&gt;&lt;SPAN&gt;" visible="true"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layer type="feature" label="Exposed Buried Utilities" url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://PrometheusServer/ArcGIS/rest/services/FlexTOCTest/MapServer/3" rel="nofollow" target="_blank"&gt;http://PrometheusServer/ArcGIS/rest/services/FlexTOCTest/MapServer/3&lt;/A&gt;&lt;SPAN&gt;" visible="true"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layer type="feature" label="Electrical" url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://PrometheusServer/ArcGIS/rest/services/FlexTOCTest/MapServer/0" rel="nofollow" target="_blank"&gt;http://PrometheusServer/ArcGIS/rest/services/FlexTOCTest/MapServer/0&lt;/A&gt;&lt;SPAN&gt;" visible="true"/&amp;gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sublayer type="feature" label="Duct Banks" url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://PrometheusServer/ArcGIS/rest/services/FlexTOCTest/MapServer/2" rel="nofollow" target="_blank"&gt;http://PrometheusServer/ArcGIS/rest/services/FlexTOCTest/MapServer/2&lt;/A&gt;&lt;SPAN&gt;" visible="true"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sublayer type="feature" label="Handholes and Manholes" url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://PrometheusServer/ArcGIS/rest/services/FlexTOCTest/MapServer/1" rel="nofollow" target="_blank"&gt;http://PrometheusServer/ArcGIS/rest/services/FlexTOCTest/MapServer/1&lt;/A&gt;&lt;SPAN&gt;" visible="true"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/operationallayers&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2012 02:07:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/sublayer-question/m-p/543843#M15394</guid>
      <dc:creator>TimHayes</dc:creator>
      <dc:date>2012-06-10T02:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sublayer Question</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/sublayer-question/m-p/543844#M15395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Timothy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The sublayer tag is only for specifying a particular popup for a layer or a definitionexpression. Read more about what is supported as far as layers and what sublayers are for here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/01m3/01m30000000p000000.htm"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/01m3/01m30000000p000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a grouped layer in your MSD and publish that to ArcGIS Server than that grouped layer will be there and display just like it does in ArcMap when using my TOC widget. If you are wanting to add just certain layers of a map service then you need to look into the visiblelayers and definitionexpression&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote).&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2012 02:21:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/sublayer-question/m-p/543844#M15395</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-06-10T02:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sublayer Question</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/sublayer-question/m-p/543845#M15396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Timothy,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; The sublayer tag is only for specifying a particular popup for a layer or a definitionexpression. Read more about what is supported as far as layers and what sublayers are for here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/01m3/01m30000000p000000.htm"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/01m3/01m30000000p000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you have a grouped layer in your MSD and publish that to ArcGIS Server than that grouped layer will be there and display just like it does in ArcMap when using my TOC widget. If you are wanting to add just certain layers of a map service then you need to look into the visiblelayers and definitionexpression&lt;BR /&gt;&lt;BR /&gt;Don't forget to &lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt; on this post and to &lt;STRONG&gt;click the top arrow (promote).&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt; as shown in the below graphic:&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I finally figured it out, thanks to you, but I have another sort of related question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; I have a Layer Group in the MXD named Electrical with two layers in it: Handholes and Manholes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; I created the MSD. Brought into the Flex Viewer using your TOC Widget. Works good, the Layer Groups appear as long as Electrical is dynamic. Except for one thing, not sure if this can be modified or not:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; The REST Service name is "Electrical", the Layer Group name is "Electrical". In the TOC both show up, the Layer Group is nested in the REST Service, both with check boxes next to them. Is there a way to remove one of labels "Electrical" along with it's associated check box, and still keep the Layer Grouping? I could rename one to "Electrical Assets" and keep one as "Electrical". But this still leaves those two check boxes. My goal is to have one check box and name "Electrical" and the nested layers (with their check boxes) inside it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for a TOC format like this (this is not code, it's for illustrative purposes only):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;chkbox&amp;nbsp; Electrical &amp;lt;-- name of Layer Group or REST Service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chkbox Handhole &amp;lt;-- nested under Electrical&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chkbox Manhole &amp;lt;-- nested under Electrical&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment here is what it looks like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;chkbox Electrical &amp;lt;-- name of REST Service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chkbox Electrical &amp;lt;-- name of Layer Group nested under REST Service Electrical&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chkbox Handhole &amp;lt;-- name of Layer nested in Layer Group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chkbox Manhole &amp;lt;-- name of Layer nested in Layer Group&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are your thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2012 16:48:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/sublayer-question/m-p/543845#M15396</guid>
      <dc:creator>TimHayes</dc:creator>
      <dc:date>2012-06-10T16:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sublayer Question</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/sublayer-question/m-p/543846#M15397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Timothy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; No you can not have it like that and here is the reason. The whole map service (the MSD) gets a checkbox and label so that the whole map service can be turned on or off and then each layer gets a checkbox (grouped layer or normal layer) so that you can turn on or off those layers. So to get what you are after you would need to publish an MSD without the group layer that way you would have just the main checkbox named electrical and the two layers under it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;chkbox Electrical &amp;lt;-- name of Map Service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;chkbox Handhole &amp;lt;-- nested under Electrical&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;chkbox Manhole &amp;lt;-- nested under Electrical&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg"&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2012 17:37:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/sublayer-question/m-p/543846#M15397</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-06-10T17:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sublayer Question</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/sublayer-question/m-p/543847#M15398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Timothy,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; No you can not have it like that and here is the reason. The whole map service (the MSD) gets a checkbox and label so that the whole map service can be turned on or off and then each layer gets a checkbox (grouped layer or normal layer) so that you can turn on or off those layers. So to get what you are after you would need to publish an MSD without the group layer that way you would have just the main checkbox named electrical and the two layers under it:&lt;BR /&gt;&lt;BR /&gt;chkbox Electrical &amp;lt;-- name of Map Service&lt;BR /&gt;chkbox Handhole &amp;lt;-- nested under Electrical&lt;BR /&gt;chkbox Manhole &amp;lt;-- nested under Electrical&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Don't forget to &lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt; on this post and to &lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;.&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt; as shown in the below graphic:&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks! this makes it easier. This is very helpful. I never thought of it this way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 00:15:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/sublayer-question/m-p/543847#M15398</guid>
      <dc:creator>TimHayes</dc:creator>
      <dc:date>2012-06-11T00:15:12Z</dc:date>
    </item>
  </channel>
</rss>

