<?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 Removing &amp;quot;The layer, x, cannot be added to the map.&amp;quot; popup on Web App Builder in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/removing-quot-the-layer-x-cannot-be-added-to-the/m-p/1371124#M23347</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to preface this message by saying that I'm pretty new to customizing WAB applications, but so far most of the resources I can find have just been on editing widgets and themes within the stemapp directory in WAB.&lt;/P&gt;&lt;P&gt;Here's what I'm trying to do: I'm making use of hosted feature layer views on a hosted feature layer. These views have varying access: one view is in a group with an unfiltered view, while another view is in a group with a filtered view. Both views are in one map, and due to the views belonging in different groups, the access to the other view is limited.&lt;/P&gt;&lt;P data-unlink="true"&gt;Now, WAB has a built-in popup to warn users that "The layer, x, cannot be added to the map". I'd like to have this popup removed, and I found this resource:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-web-appbuilder-questions/disable-popup-layer-cannot-be-added-to-map/td-p/33942" target="_self"&gt;Solved: Disable PopUp - Layer Cannot Be Added to Map - Esri Community&lt;/A&gt; but I am not sure how to incorporate this to my current web app.&lt;/P&gt;&lt;P data-unlink="true"&gt;While I was able to edit the MapManager.js file, I'm not sure what it means to "deploy" the web app onto the web server (&lt;A href="https://developers.arcgis.com/web-appbuilder/guide/xt-deploy-app.htm" target="_self"&gt;step 2 in the documentation&lt;/A&gt;).&lt;/P&gt;&lt;P data-unlink="true"&gt;Is there a simpler way of doing this within Web App Builder?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2024 17:53:36 GMT</pubDate>
    <dc:creator>francis_aprx</dc:creator>
    <dc:date>2024-01-17T17:53:36Z</dc:date>
    <item>
      <title>Removing "The layer, x, cannot be added to the map." popup on Web App Builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/removing-quot-the-layer-x-cannot-be-added-to-the/m-p/1371124#M23347</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to preface this message by saying that I'm pretty new to customizing WAB applications, but so far most of the resources I can find have just been on editing widgets and themes within the stemapp directory in WAB.&lt;/P&gt;&lt;P&gt;Here's what I'm trying to do: I'm making use of hosted feature layer views on a hosted feature layer. These views have varying access: one view is in a group with an unfiltered view, while another view is in a group with a filtered view. Both views are in one map, and due to the views belonging in different groups, the access to the other view is limited.&lt;/P&gt;&lt;P data-unlink="true"&gt;Now, WAB has a built-in popup to warn users that "The layer, x, cannot be added to the map". I'd like to have this popup removed, and I found this resource:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-web-appbuilder-questions/disable-popup-layer-cannot-be-added-to-map/td-p/33942" target="_self"&gt;Solved: Disable PopUp - Layer Cannot Be Added to Map - Esri Community&lt;/A&gt; but I am not sure how to incorporate this to my current web app.&lt;/P&gt;&lt;P data-unlink="true"&gt;While I was able to edit the MapManager.js file, I'm not sure what it means to "deploy" the web app onto the web server (&lt;A href="https://developers.arcgis.com/web-appbuilder/guide/xt-deploy-app.htm" target="_self"&gt;step 2 in the documentation&lt;/A&gt;).&lt;/P&gt;&lt;P data-unlink="true"&gt;Is there a simpler way of doing this within Web App Builder?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 17:53:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/removing-quot-the-layer-x-cannot-be-added-to-the/m-p/1371124#M23347</guid>
      <dc:creator>francis_aprx</dc:creator>
      <dc:date>2024-01-17T17:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Removing "The layer, x, cannot be added to the map." popup on Web App Builder</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/removing-quot-the-layer-x-cannot-be-added-to-the/m-p/1373981#M23356</link>
      <description>&lt;P&gt;For those that are finding this thread, I was able to solve my problem -- I had a fundamental misunderstanding of how Web App Builder worked.&lt;/P&gt;&lt;P&gt;Once I was able to customize the underlying JS of the web app, I was able to &lt;A href="https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-deploy-web-app-steps/td-p/869226" target="_blank" rel="noopener"&gt;deploy it to a server&lt;/A&gt; (step 2 of those instructions), and the popup was gone.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 17:15:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/removing-quot-the-layer-x-cannot-be-added-to-the/m-p/1373981#M23356</guid>
      <dc:creator>francis_aprx</dc:creator>
      <dc:date>2024-01-24T17:15:16Z</dc:date>
    </item>
  </channel>
</rss>

