<?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: Suppress &amp;quot;layer cannot be added to the map&amp;quot; message in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/suppress-quot-layer-cannot-be-added-to-the-map/m-p/194784#M5380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I commented out the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;new Message({...});&lt;/SPAN&gt; lines in&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;_showUnreachableLayersTitleMessage: function()&lt;/SPAN&gt; and that seemed to do the trick. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2018 22:49:23 GMT</pubDate>
    <dc:creator>BlakeTerhune</dc:creator>
    <dc:date>2018-05-22T22:49:23Z</dc:date>
    <item>
      <title>Suppress "layer cannot be added to the map" message</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/suppress-quot-layer-cannot-be-added-to-the-map/m-p/194782#M5378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The web map I'm using for my app has several layers hosted on our ArcGIS Server. One of the layers is a secured service while the rest are not. We deployed the app to everyone in our organization but only certain groups have access to the secured layer. Previously, this worked great because Web AppBuilder just "silently" threw an error in the console claiming it couldn't find the secured layer but now it looks like there's a new "feature" that displays a message claiming the layer cannot be added to the map. Is there any way to suppress or hide this message?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 20:12:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/suppress-quot-layer-cannot-be-added-to-the-map/m-p/194782#M5378</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2018-05-22T20:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress "layer cannot be added to the map" message</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/suppress-quot-layer-cannot-be-added-to-the-map/m-p/194783#M5379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Blake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "layer cannot be added to the map" message gets generated in the '_showUnreachableLayersTitleMessage' function, in the MapManager.js file.&lt;/P&gt;&lt;P&gt;(WebAppBuilderForArcGIS &amp;gt; server &amp;gt; apps &amp;gt; (appNumber) &amp;gt; jimu.js &amp;gt; MapManager.js)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you comment out the new Message( { ... } ) code in the function, there will no longer be a message. You can print the message to the console instead if you like. Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jose Banuelos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 21:02:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/suppress-quot-layer-cannot-be-added-to-the-map/m-p/194783#M5379</guid>
      <dc:creator>JoseBanuelos</dc:creator>
      <dc:date>2018-05-22T21:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress "layer cannot be added to the map" message</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/suppress-quot-layer-cannot-be-added-to-the-map/m-p/194784#M5380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I commented out the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;new Message({...});&lt;/SPAN&gt; lines in&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;_showUnreachableLayersTitleMessage: function()&lt;/SPAN&gt; and that seemed to do the trick. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 22:49:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/suppress-quot-layer-cannot-be-added-to-the-map/m-p/194784#M5380</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2018-05-22T22:49:23Z</dc:date>
    </item>
  </channel>
</rss>

