<?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 how to recognize is the map layer's data are public in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-recognize-is-the-map-layer-s-data-are/m-p/1160244#M76899</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I have a web map with added two layers from two different ArcGIS servers. Both layers contain shared data as public data so suppose to be available to everyone.&lt;/P&gt;&lt;P&gt;ArcGIS Portal is installed on one of the mentioned servers. I created a web application in WebApp Builder where I use mentioned web map.&lt;/P&gt;&lt;P&gt;When I try to use the data from the layer which is stored on the same ArcGIS Server as the ArcGIS Portal then everything works fine. The problem begins when I try to use the data from the layer stored on the second server. I am asked for credentials even though the data is public.&lt;/P&gt;&lt;P&gt;QUESTION: How can I check with ArcGIS JS API is the data available to everyone or not? Is there any implemented in API function?&lt;/P&gt;</description>
    <pubDate>Fri, 01 Apr 2022 13:54:19 GMT</pubDate>
    <dc:creator>ŁukaszWiszniewski</dc:creator>
    <dc:date>2022-04-01T13:54:19Z</dc:date>
    <item>
      <title>how to recognize is the map layer's data are public</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-recognize-is-the-map-layer-s-data-are/m-p/1160244#M76899</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I have a web map with added two layers from two different ArcGIS servers. Both layers contain shared data as public data so suppose to be available to everyone.&lt;/P&gt;&lt;P&gt;ArcGIS Portal is installed on one of the mentioned servers. I created a web application in WebApp Builder where I use mentioned web map.&lt;/P&gt;&lt;P&gt;When I try to use the data from the layer which is stored on the same ArcGIS Server as the ArcGIS Portal then everything works fine. The problem begins when I try to use the data from the layer stored on the second server. I am asked for credentials even though the data is public.&lt;/P&gt;&lt;P&gt;QUESTION: How can I check with ArcGIS JS API is the data available to everyone or not? Is there any implemented in API function?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 13:54:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-recognize-is-the-map-layer-s-data-are/m-p/1160244#M76899</guid>
      <dc:creator>ŁukaszWiszniewski</dc:creator>
      <dc:date>2022-04-01T13:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to recognize is the map layer's data are public</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-recognize-is-the-map-layer-s-data-are/m-p/1160248#M76900</link>
      <description>&lt;P&gt;Did you just add the layer into your web map via the URL? If so then I'd recommend adding it as a content item in your Portal first and choosing the option to save credentials. That way the user name and password will be saved with the layer and you shouldn't get prompted for them when you add to a map or open the map.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GarethBaker1_0-1648821575758.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/37953i40541881573E4F54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GarethBaker1_0-1648821575758.png" alt="GarethBaker1_0-1648821575758.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 13:59:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-recognize-is-the-map-layer-s-data-are/m-p/1160248#M76900</guid>
      <dc:creator>GarethBaker1</dc:creator>
      <dc:date>2022-04-01T13:59:44Z</dc:date>
    </item>
  </channel>
</rss>

