<?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: Loading layers from ServiceFeatureTable gives error: credentialCannotBeShared in Swift Maps SDK Questions</title>
    <link>https://community.esri.com/t5/swift-maps-sdk-questions/loading-layers-from-servicefeaturetable-gives/m-p/1559934#M466</link>
    <description>&lt;P&gt;Thanks for the tip, it lead me to the issue. Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2024 22:26:42 GMT</pubDate>
    <dc:creator>RTC</dc:creator>
    <dc:date>2024-11-18T22:26:42Z</dc:date>
    <item>
      <title>Loading layers from ServiceFeatureTable gives error: credentialCannotBeShared</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/loading-layers-from-servicefeaturetable-gives/m-p/1559844#M463</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am migrating code from 100 to 200 and I am running into an issue trying to load layers from a ServiceFeatureTable. The credentials are stored using ArcGISEnvironment.authenticationManager.arcGISCredentialStore.&lt;SPAN class=""&gt;add&lt;/SPAN&gt;(cred)&lt;/P&gt;&lt;P&gt;The layers are then added to the map using map.addOperationalLayers&lt;/P&gt;&lt;P&gt;However, all they layers fail to load with the error:&amp;nbsp;&lt;STRONG&gt;credentialCannotBeShared&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any pointers on what would cause this error?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 19:15:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/loading-layers-from-servicefeaturetable-gives/m-p/1559844#M463</guid>
      <dc:creator>RTC</dc:creator>
      <dc:date>2024-11-18T19:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Loading layers from ServiceFeatureTable gives error: credentialCannotBeShared</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/loading-layers-from-servicefeaturetable-gives/m-p/1559908#M464</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/105444"&gt;@RTC&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Sorry to hear that you are running into this issue. The error means the url of the credential is not matching with the layer url.&lt;/P&gt;
&lt;P&gt;Can you please check the &lt;A href="https://developers.arcgis.com/swift/api-reference/documentation/arcgis/arcgiscredential/servercontext" target="_self"&gt;serverContext&lt;/A&gt;&amp;nbsp;url of the credential and url of the ServiceFeatureTable and post it here?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Nimesh&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 20:33:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/loading-layers-from-servicefeaturetable-gives/m-p/1559908#M464</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2024-11-18T20:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Loading layers from ServiceFeatureTable gives error: credentialCannotBeShared</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/loading-layers-from-servicefeaturetable-gives/m-p/1559929#M465</link>
      <description>&lt;P&gt;Hi Nimesh,&lt;/P&gt;&lt;P&gt;OK, I will check the urls an see what I get. Would there be any reason why this is working in 100 but not 200?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 21:08:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/loading-layers-from-servicefeaturetable-gives/m-p/1559929#M465</guid>
      <dc:creator>RTC</dc:creator>
      <dc:date>2024-11-18T21:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Loading layers from ServiceFeatureTable gives error: credentialCannotBeShared</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/loading-layers-from-servicefeaturetable-gives/m-p/1559934#M466</link>
      <description>&lt;P&gt;Thanks for the tip, it lead me to the issue. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 22:26:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/loading-layers-from-servicefeaturetable-gives/m-p/1559934#M466</guid>
      <dc:creator>RTC</dc:creator>
      <dc:date>2024-11-18T22:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Loading layers from ServiceFeatureTable gives error: credentialCannotBeShared</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/loading-layers-from-servicefeaturetable-gives/m-p/1559944#M467</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/105444"&gt;@RTC&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you could provide examples of the v100 and v200 codes/URLs, I would be able to assist you in identifying why it was working in v100 and not in v200.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Nimesh&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 21:33:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/loading-layers-from-servicefeaturetable-gives/m-p/1559944#M467</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2024-11-18T21:33:44Z</dc:date>
    </item>
  </channel>
</rss>

