<?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: Portal User Information Undefined Sometimes in Developer Edition 1.14 in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1584484#M17332</link>
    <description>&lt;P&gt;I can confirm that registering with the Portal did not work for my application.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2025 16:01:29 GMT</pubDate>
    <dc:creator>JeffreyThompson2</dc:creator>
    <dc:date>2025-02-12T16:01:29Z</dc:date>
    <item>
      <title>Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1537897#M14817</link>
      <description>&lt;P&gt;I am using Developer Edition 1.14 with ArcGIS Enterprise 10.9.1 with SSO authentication. My Experience Builder application will sometimes load in a state where certain features are unavailable. I believe this is caused by an error in how the 10.X version of ArcGIS Enterprise handles SSO authentication because of issues seen in previous versions of Experience Builder and the errors I am dealing with.&lt;/P&gt;&lt;P&gt;This issue was originally discovered in a custom widget that accessed the props.user attribute to apply some user based customization to my application. Sometimes the site would load as expected, other times the props.user attribute would be undefined resulting in the widget crashing. It would often take multiple reloads for the error to clear itself and the site to load correctly. The most reliable way for triggering this error appears to be making some connection to the ArcGIS Enterprise Portal then allowing it to go stale for about an hour and then refreshing the application. The most reliable way for clearing the error is to first visit the Portal homepage and then loading the application. This same code worked reliably in Experience Builder 1.12.&lt;/P&gt;&lt;P&gt;After wrapping the offending code in an if statement, so it would not crash the whole application. I discovered additional issues related to this error.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The OOTB Add Data Widget could not access any information from the Enterprise Portal. It could still access ArcGIS Online.&lt;/LI&gt;&lt;LI&gt;Using code based on &lt;A href="https://community.esri.com/t5/arcgis-experience-builder-questions/making-runtime-featurelayers-register-as/m-p/1473175#M12641" target="_self"&gt;this post&lt;/A&gt;, I am adding layers as Experience Builder datasources. When not in this error state, this allows me to use the Select Widget and Data Actions. But when this error state occurs, these features are unavailable.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is this a known bug? Has it been resolved in 1.15? Is there a known fix or work-around?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 17:46:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1537897#M14817</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-09-12T17:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1538131#M14838</link>
      <description>&lt;P&gt;The user info is loaded asynchronously, so the prop.user may be null.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 05:31:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1538131#M14838</guid>
      <dc:creator>Junshan_Liu</dc:creator>
      <dc:date>2024-09-13T05:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1538208#M14845</link>
      <description>&lt;P&gt;I always use an useEffect function to delay my widgets until after the mapView has loaded. From what I have seen, the props.user data either loads faster than the map data or not at all.&lt;/P&gt;&lt;P&gt;I have tried a recursive call to setTimeout to repeatedly check if the props.user data has loaded. When in this error state, the user data will never load and the other effects noted above will not resolve themselves.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 12:20:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1538208#M14845</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-09-13T12:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1538995#M14892</link>
      <description>&lt;P&gt;Having now seen additional variants of this problem it appears that this is actually two, maybe three, separate issues that usually occur together but can occur independently.&lt;/P&gt;&lt;P&gt;Issue 1: The props.user value is null and the Add Data Widget cannot communicate with the Enterprise Portal.&lt;/P&gt;&lt;P&gt;Issue 2: The Select Widget and/or data functions fail to load.&lt;/P&gt;&lt;P&gt;Issue 3: The Select Widget may stop detecting selectable layers after initially loading correctly. Possibly triggered by locking the computer.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 16:10:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1538995#M14892</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-09-16T16:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1539876#M14941</link>
      <description>&lt;P&gt;This may be caused by the token expiring, I think this issue still exists in 1.15. We'll fix it in the next release.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The workaround for this issue is put a widget that uses a non-public data source to make sure the app will be signed in&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 09:25:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1539876#M14941</guid>
      <dc:creator>Junshan_Liu</dc:creator>
      <dc:date>2024-09-18T09:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1567276#M16482</link>
      <description>&lt;P&gt;Can you confirm if this issue was fixed in 1.16?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 15:01:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1567276#M16482</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-12-11T15:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1569677#M16585</link>
      <description>&lt;P&gt;Verified on dev 1.16, I cannot reproduce it any more, it should be fixed now.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 10:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1569677#M16585</guid>
      <dc:creator>XiaodongWang</dc:creator>
      <dc:date>2024-12-18T10:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1573499#M16822</link>
      <description>&lt;P&gt;I am still seeing this issue in 1.16. props.user is reading as null. And the Add Data Widget is not able to get data from the Enterprise Portal.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_0-1736343992743.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122944i0A5607EFFCDEA1A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_0-1736343992743.png" alt="JeffreyThompson2_0-1736343992743.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 13:46:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1573499#M16822</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2025-01-08T13:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1573821#M16841</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/677423"&gt;@JeffreyThompson2&lt;/a&gt;&amp;nbsp;After trying some times, we found one case that the "props.user" will be null: Login first , and then close the browser for more than half an hour, and then open the ExB app, then the user may be null. Is this the case you see?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 06:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1573821#M16841</guid>
      <dc:creator>Junshan_Liu</dc:creator>
      <dc:date>2025-01-09T06:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1573874#M16843</link>
      <description>&lt;P&gt;We are on an SSO environment so it is difficult to say when we are logged in or out. I have many reports from users about this and other similar issues that suggest stale credentials is a factor in how likely these issues will occur.&lt;/P&gt;&lt;P&gt;With that said, I just logged in for the first time today less than 5 minutes ago and I already see the props.user issue.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 13:09:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1573874#M16843</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2025-01-09T13:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1574263#M16853</link>
      <description>&lt;P&gt;With SSO, do you mean the ExB developer edition is deployed under the same domain as the portal?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your case, you mean the props.user exists after login, then about 5 minutes later, this prop is changed to null?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 08:09:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1574263#M16853</guid>
      <dc:creator>Junshan_Liu</dc:creator>
      <dc:date>2025-01-10T08:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1574314#M16858</link>
      <description>&lt;P&gt;The project is deployed to the same server with the ArcGIS Web Adapter. The Enterprise Portal is federated on a different server.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 14:01:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1574314#M16858</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2025-01-10T14:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1580847#M17183</link>
      <description>&lt;P&gt;I'm running into the same issue with a similar setup. We are using ArcGIS Enterprise 11.1 with IWA enabled and have an experience built in version 1.16 deployed to our web adaptor servers. The first time a user browses to the application, everything seem to work accordingly. After some time or a cache clear, the ability to search our enterprise using the Add Data tool goes away as well as other functionality such as the related data action and the elevation profile tool. The attached picture is the request and response sent after opening the Add Data tool.&lt;/P&gt;&lt;P&gt;Has there been any progress on this issue?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 15:10:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1580847#M17183</guid>
      <dc:creator>SJehle3</dc:creator>
      <dc:date>2025-01-31T15:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1583154#M17278</link>
      <description>&lt;P&gt;I'm developing a custom widget for a client and am seeing the same portal.user being null issue in their SSO environment after initial success.&amp;nbsp; Sometimes refreshing a Portal window on the same browser will fix the problem but it does come back.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We are using Exp Builder 1.16 and Enterprise 11.1.&amp;nbsp; I've not seen it during development using our own environment using built-in logins.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 15:54:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1583154#M17278</guid>
      <dc:creator>BenFerguson</dc:creator>
      <dc:date>2025-02-07T15:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1583390#M17288</link>
      <description>&lt;P&gt;Thanks for your feedback! We save the token in local/session storage, I believe this is caused by the saved token is expired. Could you check the following when you see the issue next time?&lt;/P&gt;&lt;P&gt;* Open browser developer tool&lt;/P&gt;&lt;P&gt;* Open Application tab&lt;/P&gt;&lt;P&gt;* In the Local/Session storage, find "exb_auth" key, check whether the token is expired&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2025 01:07:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1583390#M17288</guid>
      <dc:creator>Junshan_Liu</dc:creator>
      <dc:date>2025-02-08T01:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1584074#M17314</link>
      <description>&lt;P&gt;Thank you for responding.&amp;nbsp; I did some more testing and when it is successful, there is an entry for "exb_auth", when it is not successful, there is no "exb_auth" key at all.&amp;nbsp; The pertinent data is visible in "Esri_recent_webmaps" however.&lt;BR /&gt;&lt;BR /&gt;But your question led me to look at the fact that I had not registered this app with Portal.&amp;nbsp; This app was copied from another computer.&amp;nbsp; Once I did register the application, it seems to be working properly now.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 16:24:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1584074#M17314</guid>
      <dc:creator>BenFerguson</dc:creator>
      <dc:date>2025-02-11T16:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1584484#M17332</link>
      <description>&lt;P&gt;I can confirm that registering with the Portal did not work for my application.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 16:01:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1584484#M17332</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2025-02-12T16:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1586083#M17411</link>
      <description>&lt;P&gt;Further testing on my application shows that it improved my success rate, but it still comes up empty part of the time.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 16:44:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1586083#M17411</guid>
      <dc:creator>BenFerguson</dc:creator>
      <dc:date>2025-02-17T16:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1602375#M18272</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_0-1743694586403.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/129395i4E6BC423C1431E8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_0-1743694586403.png" alt="JeffreyThompson2_0-1743694586403.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I just upgraded to Developer Edition 1.17 and the issue is still present.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 15:37:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1602375#M18272</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2025-04-03T15:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Portal User Information Undefined Sometimes in Developer Edition 1.14</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1604056#M18358</link>
      <description>&lt;P&gt;We fixed the OAuth2 PKCE token expiration issue in 1.17. But it seems the web-tier portal may still have this issue. If you still see this issue in the 1.17, could you please help confirm whether you are using the web-tier authentication?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 05:53:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/portal-user-information-undefined-sometimes-in/m-p/1604056#M18358</guid>
      <dc:creator>JunshanLiu</dc:creator>
      <dc:date>2025-04-09T05:53:25Z</dc:date>
    </item>
  </channel>
</rss>

