<?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: Add and Remove Fetaure layer to WAB in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457311#M12039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ash:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What file do you place&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;map.addLayer("layername") in the script? What other programming is needed to make this work?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Brandon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2018 20:30:41 GMT</pubDate>
    <dc:creator>BrandonPrice</dc:creator>
    <dc:date>2018-03-28T20:30:41Z</dc:date>
    <item>
      <title>Add and Remove Fetaure layer to WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457305#M12033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am adding feature layer to the WAB programatically using "map.addLayer("layername") the layer is successfully getting added to the map but it is also adding to the LayerList widget..&lt;BR /&gt;and similiarly while removing i am not able to remove it using map.removeLayer as it prevails in layer list widget.&lt;BR /&gt;is there anyway i can resolve it and layer list widget dont get involved.&lt;/P&gt;&lt;P&gt;Any help on this highly appreicated&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 05:51:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457305#M12033</guid>
      <dc:creator>aishvaryvardhan</dc:creator>
      <dc:date>2018-02-08T05:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Add and Remove Fetaure layer to WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457306#M12034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set 'layerObject._wabProperties.isTemporaryLayer' property to the&amp;nbsp;new layer before it's added to the map.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;newLayerObject.&lt;SPAN&gt;_wabProperties.isTemporaryLayer = true;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;map.addLayer(newLayerObject);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 08:15:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457306#M12034</guid>
      <dc:creator>XiaodongWang</dc:creator>
      <dc:date>2018-02-08T08:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Add and Remove Fetaure layer to WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457307#M12035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ,&lt;/P&gt;&lt;P&gt;May i know what do you mean by _wabProperties here ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 10:50:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457307#M12035</guid>
      <dc:creator>aishvaryvardhan</dc:creator>
      <dc:date>2018-02-08T10:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add and Remove Fetaure layer to WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457308#M12036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried out this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #9cdcfe;"&gt;featurelayerAdd&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;_wabProperties&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; { &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;isTemporaryLayer:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; };&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;way its working fine.&lt;/P&gt;&lt;P&gt;Thanks Wang,&lt;/P&gt;&lt;P&gt;But still i am not able to remove layer using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;removeLayer&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;featurelayerAdd&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 11:34:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457308#M12036</guid>
      <dc:creator>aishvaryvardhan</dc:creator>
      <dc:date>2018-02-08T11:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add and Remove Fetaure layer to WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457309#M12037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that cannot remove the layer is not caused by the LayerList widget or WAB, is there any console errors?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 12:28:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457309#M12037</guid>
      <dc:creator>XiaodongWang</dc:creator>
      <dc:date>2018-02-08T12:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add and Remove Fetaure layer to WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457310#M12038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Wang, no console error ,just un-checking the checkbox and the data prevails on the map&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 12:37:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457310#M12038</guid>
      <dc:creator>aishvaryvardhan</dc:creator>
      <dc:date>2018-02-08T12:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add and Remove Fetaure layer to WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457311#M12039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ash:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What file do you place&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;map.addLayer("layername") in the script? What other programming is needed to make this work?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Brandon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 20:30:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457311#M12039</guid>
      <dc:creator>BrandonPrice</dc:creator>
      <dc:date>2018-03-28T20:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Add and Remove Fetaure layer to WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457312#M12040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Hey &lt;A _jive_internal="true" class="" data-avatarid="3059" data-externalid="" data-online="false" data-presence="null" data-userid="115639" data-username="Xiaodong_Wang-esristaff" href="https://community.esri.com/people/Xiaodong_Wang-esristaff" style="color: inherit; border: 0px; font-weight: bold; text-decoration: underline;"&gt;Xiaodong&lt;/A&gt;:&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;What file do you place&amp;nbsp;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;map.addLayer("layername") in the script? What other programming is needed to make this work?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;Brandon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 17:56:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-and-remove-fetaure-layer-to-wab/m-p/457312#M12040</guid>
      <dc:creator>BrandonPrice</dc:creator>
      <dc:date>2018-03-29T17:56:37Z</dc:date>
    </item>
  </channel>
</rss>

