<?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 add a layer without adding it in LayerList widget in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-add-a-layer-without-adding-it-in-layerlist/m-p/867766#M12474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;To clarify, the aim here is to add layers &lt;STRONG&gt;programmatically&lt;/STRONG&gt; without adding it in LayerList widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this when programming widgets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched this for one of my widgets and because the solution wasn't easy to find, i share the solution here &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 22:27:20 GMT</pubDate>
    <dc:creator>JeremieCornet1</dc:creator>
    <dc:date>2015-04-07T22:27:20Z</dc:date>
    <item>
      <title>How to add a layer without adding it in LayerList widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-add-a-layer-without-adding-it-in-layerlist/m-p/867764#M12472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In a widget, i had to add layers without adding it in LayerList widget (and without modifications in jimu.js).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After digging in jimu.js, i finally find how to do this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After layer's instanciation but before adding it in the map:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;myLayer._basemapGalleryLayerType = "basemap";&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 05:52:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-add-a-layer-without-adding-it-in-layerlist/m-p/867764#M12472</guid>
      <dc:creator>JeremieCornet1</dc:creator>
      <dc:date>2015-04-07T05:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a layer without adding it in LayerList widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-add-a-layer-without-adding-it-in-layerlist/m-p/867765#M12473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeremie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you clarify a little bit? What file and where in the file did you make this change?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 22:04:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-add-a-layer-without-adding-it-in-layerlist/m-p/867765#M12473</guid>
      <dc:creator>StanMcShinsky</dc:creator>
      <dc:date>2015-04-07T22:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a layer without adding it in LayerList widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-add-a-layer-without-adding-it-in-layerlist/m-p/867766#M12474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;To clarify, the aim here is to add layers &lt;STRONG&gt;programmatically&lt;/STRONG&gt; without adding it in LayerList widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this when programming widgets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched this for one of my widgets and because the solution wasn't easy to find, i share the solution here &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 22:27:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-add-a-layer-without-adding-it-in-layerlist/m-p/867766#M12474</guid>
      <dc:creator>JeremieCornet1</dc:creator>
      <dc:date>2015-04-07T22:27:20Z</dc:date>
    </item>
  </channel>
</rss>

