<?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: Accessing offline map after website migration in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/accessing-offline-map-after-website-migration/m-p/1588277#M13326</link>
    <description>&lt;DIV class=""&gt;&lt;P class=""&gt;Hey NijuJayakumar,&lt;/P&gt;&lt;P class=""&gt;Thanks for the additional details. To help me investigate further, could you provide a reproducer app with the webmap you're using? That way I can try it on my side and see if I can spot any issues.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 22 Feb 2025 01:56:50 GMT</pubDate>
    <dc:creator>pnarkhede</dc:creator>
    <dc:date>2025-02-22T01:56:50Z</dc:date>
    <item>
      <title>Accessing offline map after website migration</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/accessing-offline-map-after-website-migration/m-p/1544266#M13055</link>
      <description>&lt;P&gt;I have been using Oflline map in my Application. After the migration to new web portal am able to create new webmap and offline region but sharing options are only (Owner , Organization).&lt;/P&gt;&lt;P&gt;In the application am trying to load my offline area but it always return empty list. I am setting a API int the global context.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;ArcGISPortal portal = await ArcGISPortal.CreateAsync();

PortalItem webMapItem = await PortalItem.CreateAsync(portal, PortalItemId);

_originalMap = new Esri.ArcGISRuntime.Mapping.Map(webMapItem);
for the web map item.
_offlineMapTask = await OfflineMapTask.CreateAsync(webMapItem);

IReadOnlyList&amp;lt;PreplannedMapArea&amp;gt; preplannedAreas = await _offlineMapTask.GetPreplannedMapAreasAsync(); // returns empty list&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;currently my plan is lite with pay as you go. do i need to update my plan to have access or i am missing some permissions.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 14:09:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/accessing-offline-map-after-website-migration/m-p/1544266#M13055</guid>
      <dc:creator>NijuJayakumar</dc:creator>
      <dc:date>2024-10-01T14:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing offline map after website migration</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/accessing-offline-map-after-website-migration/m-p/1545872#M13059</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks for reaching out with your query.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Although the question could benefit from more details, I'll do my best to assist you with troubleshooting.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Troubleshooting Steps&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI data-stringify-indent="0" data-stringify-border="0"&gt;Double-check all sharing settings for the web map and its layers in ArcGIS Online.&lt;/LI&gt;
&lt;LI data-stringify-indent="0" data-stringify-border="0"&gt;Verify that offline map areas have been successfully created for the web map.&lt;/LI&gt;
&lt;LI data-stringify-indent="0" data-stringify-border="0"&gt;Confirm that the offline areas are visible and accessible on ArcGIS Online.&lt;/LI&gt;
&lt;LI data-stringify-indent="0" data-stringify-border="0"&gt;If possible, test the offline functionality in other ArcGIS products to isolate whether the issue is specific to your application or a general problem with the web map.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Typically, if there are licensing limitations, an exception will be thrown. You might also consider running your application in developer mode, which enables all features, to see if this resolves the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 23:31:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/accessing-offline-map-after-website-migration/m-p/1545872#M13059</guid>
      <dc:creator>pnarkhede</dc:creator>
      <dc:date>2024-10-04T23:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing offline map after website migration</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/accessing-offline-map-after-website-migration/m-p/1546493#M13060</link>
      <description>&lt;P&gt;Thank you for your Reply.&lt;/P&gt;&lt;P&gt;I have cross checked all the settings.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Webmapitem is offline enabled&lt;/LI&gt;&lt;LI&gt;Offline are is successfully created&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have tested with setting API key globally (App.xaml.cs).&lt;/P&gt;&lt;P&gt;I have also tried to authentificate with clientID and Secret. i used the following code for user authentification (code is taken from the example).&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        public static void SetChallengeHandler()
        {
            // Define the server information for ArcGIS Online
            ServerInfo portalServerInfo = new ServerInfo(new Uri(ArcGISOnlineUrl))
            {
               
                OAuthClientInfo = new OAuthClientInfo(AppClientId, new Uri(OAuthRedirectUrl))
            };

            // If a client secret has been configured, set the authentication type to OAuth client credentials.
            if (!string.IsNullOrEmpty(ClientSecret))
            {
                // If a client secret is specified then use the TokenAuthenticationType.OAuthClientCredentials type.
                portalServerInfo.TokenAuthenticationType = TokenAuthenticationType.OAuthClientCredentials;
                portalServerInfo.OAuthClientInfo.ClientSecret = ClientSecret;
            }

            // Register this server with AuthenticationManager.
            AuthenticationManager.Current.RegisterServer(portalServerInfo);

            // Use a function in this class to challenge for credentials.
            AuthenticationManager.Current.ChallengeHandler = new ChallengeHandler(PromptCredentialAsync);

        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 13:17:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/accessing-offline-map-after-website-migration/m-p/1546493#M13060</guid>
      <dc:creator>NijuJayakumar</dc:creator>
      <dc:date>2024-10-08T13:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing offline map after website migration</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/accessing-offline-map-after-website-migration/m-p/1588277#M13326</link>
      <description>&lt;DIV class=""&gt;&lt;P class=""&gt;Hey NijuJayakumar,&lt;/P&gt;&lt;P class=""&gt;Thanks for the additional details. To help me investigate further, could you provide a reproducer app with the webmap you're using? That way I can try it on my side and see if I can spot any issues.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 22 Feb 2025 01:56:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/accessing-offline-map-after-website-migration/m-p/1588277#M13326</guid>
      <dc:creator>pnarkhede</dc:creator>
      <dc:date>2025-02-22T01:56:50Z</dc:date>
    </item>
  </channel>
</rss>

