<?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: ArcGIS Portal layer in ArcGISDynamicLayer in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-portal-layer-in-arcgisdynamiclayer/m-p/1046001#M9988</link>
    <description>&lt;P&gt;Thanks Michael. I did find these samples before and based some of my test apps on these but they were using the Portal classes which uses webmaps.&lt;/P&gt;&lt;P&gt;Since publishing map services to ArcGIS Portal also creates mapserver/featureserver entries, I thought that maybe I could re-use our existing code (using ArcGISDynamicLayer)&amp;nbsp; to avoid having to generate a new code set to handle similar scenarios just for Portal layers.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Apr 2021 17:06:33 GMT</pubDate>
    <dc:creator>jgalarse</dc:creator>
    <dc:date>2021-04-12T17:06:33Z</dc:date>
    <item>
      <title>ArcGIS Portal layer in ArcGISDynamicLayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-portal-layer-in-arcgisdynamiclayer/m-p/1045986#M9986</link>
      <description>&lt;P&gt;Hi guys, we are trying to add compatibility with ArcGIS Portal on our existing desktop map application that runs ArcGIS Runtime .NET SDK version 10.2.7. I've seen samples on using the ESRI.ArcGISRuntime.Portal.ArcGISPortal to handle this but that would mean that we would need to recreate our controls (i.e. Selection, Identify etc.) from the ground up.&lt;/P&gt;&lt;P&gt;I was wondering if there is a way to consume the ArcGIS Portal layers in a ArcGISDynamicLayer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 16:32:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-portal-layer-in-arcgisdynamiclayer/m-p/1045986#M9986</guid>
      <dc:creator>jgalarse</dc:creator>
      <dc:date>2021-04-12T16:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Portal layer in ArcGISDynamicLayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-portal-layer-in-arcgisdynamiclayer/m-p/1045999#M9987</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can find the old samples for 10.2.7 in&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-dotnet/releases/tag/v10.2.7" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-dotnet/releases/tag/v10.2.7&lt;/A&gt;&lt;/P&gt;&lt;P&gt;These include several Portal samples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 16:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-portal-layer-in-arcgisdynamiclayer/m-p/1045999#M9987</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2021-04-12T16:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Portal layer in ArcGISDynamicLayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-portal-layer-in-arcgisdynamiclayer/m-p/1046001#M9988</link>
      <description>&lt;P&gt;Thanks Michael. I did find these samples before and based some of my test apps on these but they were using the Portal classes which uses webmaps.&lt;/P&gt;&lt;P&gt;Since publishing map services to ArcGIS Portal also creates mapserver/featureserver entries, I thought that maybe I could re-use our existing code (using ArcGISDynamicLayer)&amp;nbsp; to avoid having to generate a new code set to handle similar scenarios just for Portal layers.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 17:06:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-portal-layer-in-arcgisdynamiclayer/m-p/1046001#M9988</guid>
      <dc:creator>jgalarse</dc:creator>
      <dc:date>2021-04-12T17:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Portal layer in ArcGISDynamicLayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-portal-layer-in-arcgisdynamiclayer/m-p/1046118#M9989</link>
      <description>&lt;P&gt;I believe creating an ArcGISDynamicMapServiceLayer (MapServer endpoint) or a FeatureLayer (FeatureServer/&amp;lt;ID&amp;gt;) should work, as long as you have registered an event handler for the&amp;nbsp;IdentityManager&amp;nbsp;ChallengeHandler or you have implemented a workflow for pre-authentication.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 21:30:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-portal-layer-in-arcgisdynamiclayer/m-p/1046118#M9989</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2021-04-12T21:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Portal layer in ArcGISDynamicLayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-portal-layer-in-arcgisdynamiclayer/m-p/1047399#M9993</link>
      <description>&lt;P&gt;Hi Michael, you are right.&amp;nbsp;&lt;SPAN&gt;ArcGISDynamicMapServiceLayer actually works as is. The issue I was encountering was actually related to permission, when I tried to set the Share config on the map to Everyone, the layers loaded as expected.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried using the&amp;nbsp;IdentityManager.Current.GenerateCredentialAsync with my user's credential and added the resulting credential object. I know this user has access because its the same user I used to create/publish the map service. Am I using an incorrect way to authenticate the user?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 03:22:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-portal-layer-in-arcgisdynamiclayer/m-p/1047399#M9993</guid>
      <dc:creator>jgalarse</dc:creator>
      <dc:date>2021-04-15T03:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Portal layer in ArcGISDynamicLayer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-portal-layer-in-arcgisdynamiclayer/m-p/1047653#M9997</link>
      <description>&lt;P&gt;That should work, but you could also try the challenge approach to check you're creating the right type of credential. The following samples show handling the challenge, either with known credentials or prompting the user:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/10.2.7/src/Desktop/ArcGISRuntimeSamplesDesktop/Samples/Security/TokenSecuredServices/TokenSecuredKnownUser/MainWindow.xaml.cs" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/10.2.7/src/Desktop/ArcGISRuntimeSamplesDesktop/Samples/Security/TokenSecuredServices/TokenSecuredKnownUser/MainWindow.xaml.cs&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/10.2.7/src/Desktop/ArcGISRuntimeSamplesDesktop/Samples/Security/TokenSecuredServices/TokenSecuredChallenge/MainWindow.xaml.cs" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/10.2.7/src/Desktop/ArcGISRuntimeSamplesDesktop/Samples/Security/TokenSecuredServices/TokenSecuredChallenge/MainWindow.xaml.cs&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-dotnet/tree/10.2.7/src/Desktop/ArcGISRuntimeSamplesDesktop/Samples/Security/OAuthAuthorization/OAuthAuthorization" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-dotnet/tree/10.2.7/src/Desktop/ArcGISRuntimeSamplesDesktop/Samples/Security/OAuthAuthorization/OAuthAuthorization&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 15 Apr 2021 16:19:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-portal-layer-in-arcgisdynamiclayer/m-p/1047653#M9997</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2021-04-15T16:19:16Z</dc:date>
    </item>
  </channel>
</rss>

