<?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 access a group shared Feature Layer in a public shared web map via WAB Application? in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-access-a-group-shared-feature-layer-in-a/m-p/568422#M15184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on a WAB app that is using a web map that I have shared with everyone.&amp;nbsp; The web map contains a feature layer that I have only shared&amp;nbsp;with a particular group, which I have made myself a member of.&amp;nbsp; When I launch the application locally (via WAB), the web map is automatically added and includes the feature layer (I assume it's using ADFS?).&amp;nbsp; If I take myself out of the group and launch the application locally, I get a dialog that says the layer cannot be added to the map (I'd like this dialog to just not appear at all but that's further down the road). I am not prompted to sign in to ArcGIS Online to access the item, I just click "ok" and the map ends up loading without that layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I deploy the application to a web server and run it, I am prompted to sign in to access the item on ArcGIS Online whether I am in the group or not.&amp;nbsp; I've tried every variation of username/password I can think of and I can not figure out what username and password it is looking for.&amp;nbsp; It seems that it should be the same credentials that are used&amp;nbsp;when I use ADFS to log in to ArcGIS Online?&amp;nbsp; Anyway, I basically can only "cancel" and then all the layers except for the group shared layer load up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing a step somewhere?&amp;nbsp; I have set up a proxy and believe I have it working.&amp;nbsp; Not sure if I might need to register the app in AGOL?&amp;nbsp; Not sure what the serverURL might have to look like, in proxy.config, if I need to use a proxy.&amp;nbsp; I'd appreciate any&amp;nbsp;thoughts or links that I might refer to that might help me move along or better understand this.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Mar 2019 18:49:06 GMT</pubDate>
    <dc:creator>AndrewHayden1</dc:creator>
    <dc:date>2019-03-07T18:49:06Z</dc:date>
    <item>
      <title>How to access a group shared Feature Layer in a public shared web map via WAB Application?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-access-a-group-shared-feature-layer-in-a/m-p/568422#M15184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on a WAB app that is using a web map that I have shared with everyone.&amp;nbsp; The web map contains a feature layer that I have only shared&amp;nbsp;with a particular group, which I have made myself a member of.&amp;nbsp; When I launch the application locally (via WAB), the web map is automatically added and includes the feature layer (I assume it's using ADFS?).&amp;nbsp; If I take myself out of the group and launch the application locally, I get a dialog that says the layer cannot be added to the map (I'd like this dialog to just not appear at all but that's further down the road). I am not prompted to sign in to ArcGIS Online to access the item, I just click "ok" and the map ends up loading without that layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I deploy the application to a web server and run it, I am prompted to sign in to access the item on ArcGIS Online whether I am in the group or not.&amp;nbsp; I've tried every variation of username/password I can think of and I can not figure out what username and password it is looking for.&amp;nbsp; It seems that it should be the same credentials that are used&amp;nbsp;when I use ADFS to log in to ArcGIS Online?&amp;nbsp; Anyway, I basically can only "cancel" and then all the layers except for the group shared layer load up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing a step somewhere?&amp;nbsp; I have set up a proxy and believe I have it working.&amp;nbsp; Not sure if I might need to register the app in AGOL?&amp;nbsp; Not sure what the serverURL might have to look like, in proxy.config, if I need to use a proxy.&amp;nbsp; I'd appreciate any&amp;nbsp;thoughts or links that I might refer to that might help me move along or better understand this.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 18:49:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-access-a-group-shared-feature-layer-in-a/m-p/568422#M15184</guid>
      <dc:creator>AndrewHayden1</dc:creator>
      <dc:date>2019-03-07T18:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a group shared Feature Layer in a public shared web map via WAB Application?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-access-a-group-shared-feature-layer-in-a/m-p/568423#M15185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use .net proxy which will help to access secure layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the blog link to help you to add proxy on your application:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/groups/technical-support/blog/2015/10/28/setting-up-a-proxy-with-web-appbuilder-for-arcgis-developer-edition"&gt;https://community.esri.com/groups/technical-support/blog/2015/10/28/setting-up-a-proxy-with-web-appbuilder-for-arcgis-developer-edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Biraja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 21:58:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-access-a-group-shared-feature-layer-in-a/m-p/568423#M15185</guid>
      <dc:creator>BirajaNayak</dc:creator>
      <dc:date>2019-03-20T21:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a group shared Feature Layer in a public shared web map via WAB Application?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-access-a-group-shared-feature-layer-in-a/m-p/568424#M15186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Biraja.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had set up .net proxy&amp;nbsp;and had&amp;nbsp;registered the application at developers.arcgis.com.&amp;nbsp; My issue initially was that I was trying to use the application's AGOL itemId&amp;nbsp;for the appId attribute in the WAB application config.json.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/web-appbuilder/api-reference/app-configuration.htm" title="https://developers.arcgis.com/web-appbuilder/api-reference/app-configuration.htm"&gt;App configuration—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/440616_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was further confused because I had&amp;nbsp;registered the application at&amp;nbsp;developers.arcgis.com and didn't notice getting an appId but rather I got a ClientID.&amp;nbsp; When I used the ClientID in the appId section of the application config.json, things worked as expected.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/440666_pastedImage_4.png" style="border: 0px; margin: 2px 20px 0px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I later noticed&amp;nbsp;in AGOL, when looking at the registered info for the application in application setting, that the appID in AGOL is the same as the ClientID at developers.arcgis.com.&amp;nbsp; I didn't realize appID and ClientID are the same in this context.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/440617_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;still wasn't able to&amp;nbsp;find a username/password combination that worked so I contacted support.&amp;nbsp; After a bit of troubleshooting with them, we learned the username is case sensitive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 20:25:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-access-a-group-shared-feature-layer-in-a/m-p/568424#M15186</guid>
      <dc:creator>AndrewHayden1</dc:creator>
      <dc:date>2019-04-02T20:25:25Z</dc:date>
    </item>
  </channel>
</rss>

