<?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: why chaning to layer private setting doesn't work in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-chaning-to-layer-private-setting-doesn-t-work/m-p/1049743#M72674</link>
    <description>&lt;P&gt;Is your data on an organizational site (&lt;EM&gt;org&lt;/EM&gt;.maps.arcgis.com) or the basic arcgis.com site?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Apr 2021 18:32:27 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2021-04-21T18:32:27Z</dc:date>
    <item>
      <title>why chaning to layer private setting doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-chaning-to-layer-private-setting-doesn-t-work/m-p/1049700#M72669</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I changed the layer access setting to private. It asks for sign in when I open one application which needs to access the layer I changed setting. This is what I expected. But it complains that username/passwd doesn't match even though what I entered must be right.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please sign in to access the item on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="serverLink"&gt;ArcGIS Online&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="resLink"&gt;(item)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="resLink"&gt;&lt;SPAN&gt;The username or password you entered is incorrect.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="esri-widget esriSignInDialog esriIdentityDialog esriIdentityDialog--visible dijitDialog dijitDialogHover dijitHover dijitDialogFocused dijitDialogHoverFocused dijitHoverFocused dijitFocused"&gt;&lt;DIV class="dijitDialogPaneContent dijitDialogSingleChild"&gt;&lt;DIV class="dijitDialogPaneContentArea"&gt;&lt;DIV&gt;Please sign in to access the item on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="serverLink"&gt;ArcGIS Online&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="resLink"&gt;(item)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="esriErrorMsg"&gt;The username or password you entered is incorrect.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Username:&lt;BR /&gt;&lt;DIV class="dijit dijitReset dijitInline dijitLeft esriIdUser dijitTextBox dijitValidationTextBox"&gt;&lt;DIV class="dijitReset dijitInputField dijitInputContainer"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Password:&lt;BR /&gt;&lt;DIV class="dijit dijitReset dijitInline dijitLeft esriIdPwd dijitTextBox dijitValidationTextBox"&gt;&lt;DIV class="dijitReset dijitInputField dijitInputContainer"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class="dijitDialogPaneActionBar"&gt;&lt;SPAN class="dijit dijitReset dijitInline esriIdSubmit dijitButton"&gt;&lt;SPAN class="dijitReset dijitInline dijitButtonNode"&gt;&lt;SPAN class="dijitReset dijitStretch dijitButtonContents"&gt;&lt;SPAN class="dijitReset dijitInline dijitButtonText"&gt;OK&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="dijit dijitReset dijitInline esriIdCancel dijitButton"&gt;&lt;SPAN class="dijitReset dijitInline dijitButtonNode"&gt;&lt;SPAN class="dijitReset dijitStretch dijitButtonContents"&gt;&lt;SPAN class="dijitReset dijitInline dijitButtonText"&gt;Cancel&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="dijitDialogUnderlayWrapper"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;What could possible go wrong? The only thing I changed is change from public to private for that layer so no need to post the real script.&lt;/P&gt;&lt;P&gt;Layer access (sharing)&lt;/P&gt;&lt;P&gt;These settings determine who can access this layer.&lt;/P&gt;&lt;P&gt;People with access&lt;/P&gt;&lt;P&gt;&lt;SPAN class="radio-button-group-with-label-module--text--3iaWt"&gt;Private (authentication required)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="radio-button-group-with-label-module--text--3iaWt"&gt;Public (authentication not required)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 17:33:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-chaning-to-layer-private-setting-doesn-t-work/m-p/1049700#M72669</guid>
      <dc:creator>yiqunchen1</dc:creator>
      <dc:date>2021-04-21T17:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: why chaning to layer private setting doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-chaning-to-layer-private-setting-doesn-t-work/m-p/1049743#M72674</link>
      <description>&lt;P&gt;Is your data on an organizational site (&lt;EM&gt;org&lt;/EM&gt;.maps.arcgis.com) or the basic arcgis.com site?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 18:32:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-chaning-to-layer-private-setting-doesn-t-work/m-p/1049743#M72674</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-04-21T18:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: why chaning to layer private setting doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-chaning-to-layer-private-setting-doesn-t-work/m-p/1049751#M72676</link>
      <description>&lt;P&gt;I do have arcgis developer accounts for myself and for my organization. The one I am talking about is from my arcgis developer account. I also have another account at arcgis online (to have 3 accounts just occurred over time). I tried all three of them but none worked. I assume that the account from arcgis online should be right since it says:&amp;nbsp;&lt;SPAN&gt;Please sign in to access the item on&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="serverLink"&gt;ArcGIS Online&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="resLink"&gt;(item). Am I right?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 18:40:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-chaning-to-layer-private-setting-doesn-t-work/m-p/1049751#M72676</guid>
      <dc:creator>YiqunChen</dc:creator>
      <dc:date>2021-04-21T18:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: why chaning to layer private setting doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-chaning-to-layer-private-setting-doesn-t-work/m-p/1049753#M72678</link>
      <description>&lt;P&gt;When I have to access private data on my organization site in a JS app, I have to use &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/identity-oauth-basic/" target="_self"&gt;OAuthentication&lt;/A&gt; to correctly log onto the site.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 18:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-chaning-to-layer-private-setting-doesn-t-work/m-p/1049753#M72678</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-04-21T18:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: why chaning to layer private setting doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-chaning-to-layer-private-setting-doesn-t-work/m-p/1049755#M72679</link>
      <description>&lt;P&gt;Thanks! I will try&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/identity-oauth-basic/" target="_self" rel="nofollow noopener noreferrer"&gt;OAuthentication&lt;/A&gt;&amp;nbsp;as I never used it before. I thought that I set my layer to be private and then adding a API key will allow me to access my own layer. It looks like it still asks for authentication even if you apply API key. In other words, you are always required to log in as long as you change the layer access setting to private. Hope that I understand the document right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 18:51:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-chaning-to-layer-private-setting-doesn-t-work/m-p/1049755#M72679</guid>
      <dc:creator>YiqunChen</dc:creator>
      <dc:date>2021-04-21T18:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: why chaning to layer private setting doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-chaning-to-layer-private-setting-doesn-t-work/m-p/1049758#M72680</link>
      <description>&lt;P&gt;Test the sample to see if you can log in and see your items.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 18:54:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-chaning-to-layer-private-setting-doesn-t-work/m-p/1049758#M72680</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-04-21T18:54:59Z</dc:date>
    </item>
  </channel>
</rss>

