<?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: How to turn off a feature layer on print widget in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-turn-off-a-feature-layer-on-print-widget/m-p/246191#M7586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;wee y,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; That would depend, the layer named "parcelline" is it a sublayer of a map service or is that the name of the whole map service? Basically you need to get the 'map' object and use getLayer to get the Map Service (layer) based on the Map Services id and then if parcelline is the name of a layer in that map service then you need to set the visibleLayers property for the ArcGISDynamicMapServiceLayer (i.e. remove the id number that represents your parcelline from the&amp;nbsp; visibleLayers ilist).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Aug 2013 20:03:23 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2013-08-20T20:03:23Z</dc:date>
    <item>
      <title>How to turn off a feature layer on print widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-turn-off-a-feature-layer-on-print-widget/m-p/246190#M7585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to turn off a feature layer with label name for "parcelline" from config.xml when print widget is opened or print button is clicked.&amp;nbsp; Not sure how to call LayerName so can set LayerName.visible=false on print widget.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 19:46:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-turn-off-a-feature-layer-on-print-widget/m-p/246190#M7585</guid>
      <dc:creator>weeyeo</dc:creator>
      <dc:date>2013-08-20T19:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn off a feature layer on print widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-turn-off-a-feature-layer-on-print-widget/m-p/246191#M7586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;wee y,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; That would depend, the layer named "parcelline" is it a sublayer of a map service or is that the name of the whole map service? Basically you need to get the 'map' object and use getLayer to get the Map Service (layer) based on the Map Services id and then if parcelline is the name of a layer in that map service then you need to set the visibleLayers property for the ArcGISDynamicMapServiceLayer (i.e. remove the id number that represents your parcelline from the&amp;nbsp; visibleLayers ilist).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 20:03:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-turn-off-a-feature-layer-on-print-widget/m-p/246191#M7586</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-08-20T20:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn off a feature layer on print widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-turn-off-a-feature-layer-on-print-widget/m-p/246192#M7587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 20:53:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-turn-off-a-feature-layer-on-print-widget/m-p/246192#M7587</guid>
      <dc:creator>weeyeo</dc:creator>
      <dc:date>2013-08-20T20:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn off a feature layer on print widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-turn-off-a-feature-layer-on-print-widget/m-p/246193#M7588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm guessing the reason you are asking for this is because of the bug logged with printing secured featurelayers from a secured custom print task not working correctly? This problem is not specific to Flex. We've done some testing though and have determined that the problem occurs only in 10.1. I don't know if 10.2 is an option for you at this time, if so this would take care of it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if this helps you, but wanted to let you know.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 00:56:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-turn-off-a-feature-layer-on-print-widget/m-p/246193#M7588</guid>
      <dc:creator>HeatherGonzago</dc:creator>
      <dc:date>2013-08-23T00:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn off a feature layer on print widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-turn-off-a-feature-layer-on-print-widget/m-p/246194#M7589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are right Heather.&amp;nbsp; Because of the BUG and I have find a workaround.&amp;nbsp; Just keep me update if 10.2 will solve the problem.&amp;nbsp; Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 20:16:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-turn-off-a-feature-layer-on-print-widget/m-p/246194#M7589</guid>
      <dc:creator>weeyeo</dc:creator>
      <dc:date>2013-08-26T20:16:12Z</dc:date>
    </item>
  </channel>
</rss>

