<?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 User credentials sample app in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/user-credentials-sample-app/m-p/775235#M616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;User credentials sample app is crashing when you sign in(AppStudio for ArcGIS App Run has stopped working). Further debugging revealed the app is crashing at &amp;nbsp;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;map&lt;/SPAN&gt;.addLayer(&lt;SPAN style="color: #000000;"&gt;featureLayer&lt;/SPAN&gt;); after the featurelayer is &lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;initialised&lt;/SPAN&gt;. Has anyone already fixed this? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Apr 2017 12:58:26 GMT</pubDate>
    <dc:creator>KarpagamElango</dc:creator>
    <dc:date>2017-04-20T12:58:26Z</dc:date>
    <item>
      <title>User credentials sample app</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/user-credentials-sample-app/m-p/775235#M616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;User credentials sample app is crashing when you sign in(AppStudio for ArcGIS App Run has stopped working). Further debugging revealed the app is crashing at &amp;nbsp;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;map&lt;/SPAN&gt;.addLayer(&lt;SPAN style="color: #000000;"&gt;featureLayer&lt;/SPAN&gt;); after the featurelayer is &lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;initialised&lt;/SPAN&gt;. Has anyone already fixed this? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 12:58:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/user-credentials-sample-app/m-p/775235#M616</guid>
      <dc:creator>KarpagamElango</dc:creator>
      <dc:date>2017-04-20T12:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: User credentials sample app</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/user-credentials-sample-app/m-p/775236#M617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please change the line from&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; border: 0px;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;.addLayer(&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; border: 0px;"&gt;featureLayer&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;to&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;map&lt;/SPAN&gt;.insertLayer(&lt;SPAN style="color: #000000;"&gt;featureLayer&lt;/SPAN&gt;,1);

and this should fix the problem. It seems like Runtime is adding a layer but unable to index it correctly and hence crashing.

-Nakul&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:54:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/user-credentials-sample-app/m-p/775236#M617</guid>
      <dc:creator>nakulmanocha</dc:creator>
      <dc:date>2021-12-12T16:54:15Z</dc:date>
    </item>
  </channel>
</rss>

