<?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: Programmatically Turning Layers Off/On in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/programmatically-turning-layers-off-on/m-p/324751#M9423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rich,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I think what you are after can be handled with out any code modification. It would require you to have several configuration files and in the FlexViewers url you would just use the appropriate parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e. &lt;/SPAN&gt;&lt;A href="http://gis.calhouncounty.org/IdentExample/index.html?config=config-eSearch.xml" rel="nofollow noopener noreferrer" target="_blank"&gt;http://gis.calhouncounty.org/IdentExample/index.html?config=config-eSearch.xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where ?config=config-eSearch.xml is the specific config file I want to load.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now in the config file you can specify a visiblelayers attribute for each mapservice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;layer label="Public Safety" type="dynamic" visible="true" visiblelayers="1,2"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer"/&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 15:24:05 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2021-12-11T15:24:05Z</dc:date>
    <item>
      <title>Programmatically Turning Layers Off/On</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/programmatically-turning-layers-off-on/m-p/324750#M9422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We're currently trying to recreate functionality we have in our ArcIMS based mapping application within the ArcGIS Server Flex Viewer. One of the options we currently allow our visitors is to toggle on and off map themes, or predefined groupings of similar layers (i.e. a Recreation theme that will turn on the parks layer, boat ramp layer and trails layer). In ArcIMS we accomplished this through code on the back-end: theme names were passed as a query string in the URL, layers to be turned on and off for each theme were stored in tables within our RDBMS. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're just getting our feet wet with the Flex Viewer and really are not sure where to begin to replicate this feature. We sorted through the standard widgets, but didn't come across anything that sounded like it would work. Does anyone have any suggestions or ideas that can get us going with this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rich Hammond&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Team Leader&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Florida Center for Community Design and Research&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;University of South Florida&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 12:55:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/programmatically-turning-layers-off-on/m-p/324750#M9422</guid>
      <dc:creator>RichHammond</dc:creator>
      <dc:date>2010-11-09T12:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically Turning Layers Off/On</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/programmatically-turning-layers-off-on/m-p/324751#M9423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rich,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I think what you are after can be handled with out any code modification. It would require you to have several configuration files and in the FlexViewers url you would just use the appropriate parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e. &lt;/SPAN&gt;&lt;A href="http://gis.calhouncounty.org/IdentExample/index.html?config=config-eSearch.xml" rel="nofollow noopener noreferrer" target="_blank"&gt;http://gis.calhouncounty.org/IdentExample/index.html?config=config-eSearch.xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where ?config=config-eSearch.xml is the specific config file I want to load.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now in the config file you can specify a visiblelayers attribute for each mapservice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;layer label="Public Safety" type="dynamic" visible="true" visiblelayers="1,2"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer"/&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:24:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/programmatically-turning-layers-off-on/m-p/324751#M9423</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T15:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically Turning Layers Off/On</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/programmatically-turning-layers-off-on/m-p/324752#M9424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Rich,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I think what you are after can be handled with out any code modification. It would require you to have several configuration files and in the FlexViewers url you would just use the appropriate parameter.&lt;BR /&gt;&lt;BR /&gt;i.e. &lt;A href="http://gis.calhouncounty.org/IdentExample/index.html?config=config-eSearch.xml" rel="nofollow noopener noreferrer" target="_blank"&gt;http://gis.calhouncounty.org/IdentExample/index.html?config=config-eSearch.xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Where ?config=config-eSearch.xml is the specific config file I want to load.&lt;BR /&gt;&lt;BR /&gt;Now in the config file you can specify a visiblelayers attribute for each mapservice.&lt;BR /&gt;&lt;BR /&gt;i.e &lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;layer label="Public Safety" type="dynamic" visible="true" visiblelayers="1,2"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer"/&amp;gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your application through the link above, I have noticed that you have an extra combo box for "Search Layer Field:" which is not available in the esearch widget. It seems very useful since it provides the flexibility to search against multiple fields. Could you provide the information about how you have implemented it and the new lines to be added in the xml file. Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nadeem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/programmatically-turning-layers-off-on/m-p/324752#M9424</guid>
      <dc:creator>NadeemShaukat</dc:creator>
      <dc:date>2021-12-11T15:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically Turning Layers Off/On</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/programmatically-turning-layers-off-on/m-p/324753#M9425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Robert,&lt;BR /&gt;&lt;BR /&gt;In your application through the link above, I have noticed that you have an extra combo box for "Search Layer Field:" which is not available in the esearch widget. It seems very useful since it provides the flexibility to search against multiple fields. Could you provide the information about how you have implemented it and the new lines to be added in the xml file. Thanks&lt;BR /&gt;&lt;BR /&gt;Nadeem&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Never mind. I see that it has been implemented in your latest update.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nadeem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 02:48:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/programmatically-turning-layers-off-on/m-p/324753#M9425</guid>
      <dc:creator>NadeemShaukat</dc:creator>
      <dc:date>2011-01-18T02:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically Turning Layers Off/On</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/programmatically-turning-layers-off-on/m-p/324754#M9426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nadeem,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Yep you have to check if you have the latest release very often. Like I am working on the 2.2.5 version right now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 02:50:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/programmatically-turning-layers-off-on/m-p/324754#M9426</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-01-18T02:50:49Z</dc:date>
    </item>
  </channel>
</rss>

