<?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: GetUser($layer).username Not Working ONLINE in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/getuser-layer-username-not-working-online/m-p/1296944#M6255</link>
    <description>&lt;P&gt;Well, I just got it to work&amp;nbsp;&lt;EM&gt;sort of&lt;/EM&gt;. I set the field to "required" and "visible" in the Field Maps and my name showed up in the field in the Field Maps form. I'm working on webhooks email notifications in Make at the moment, and the output is weird.&amp;nbsp;It has&lt;SPAN&gt;&amp;nbsp;[Collection] before my name. WTF??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Logged by user:&lt;/STRONG&gt;&amp;nbsp;[Collection]Levi Cecil&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-06-07 at 3.20.31 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72617iDD754EC38346F27D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-06-07 at 3.20.31 PM.png" alt="Screen Shot 2023-06-07 at 3.20.31 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2023 22:40:44 GMT</pubDate>
    <dc:creator>LeviCecil</dc:creator>
    <dc:date>2023-06-07T22:40:44Z</dc:date>
    <item>
      <title>GetUser($layer).username Not Working ONLINE</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/getuser-layer-username-not-working-online/m-p/1296914#M6252</link>
      <description>&lt;P&gt;I'm trying to calculate full user names in a Field Maps form for an AGOL map. The&amp;nbsp;&lt;STRONG&gt;GetUser($layer).username&amp;nbsp;&lt;/STRONG&gt;function works in the Arcade editor in Field Maps designer (prints "Levi Cecil" as opposed to my username "lcecil5") but this data doesn't write to the attribute table. It's just null. I've seen a lot of posts about how this function doesn't work offline, but I'm strictly online.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 21:24:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/getuser-layer-username-not-working-online/m-p/1296914#M6252</guid>
      <dc:creator>LeviCecil</dc:creator>
      <dc:date>2023-06-07T21:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: GetUser($layer).username Not Working ONLINE</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/getuser-layer-username-not-working-online/m-p/1296935#M6254</link>
      <description>&lt;P&gt;I'm having a similar issue all of the sudden.&amp;nbsp; GetUser no longer has required parameters (i.e. GetUser().username should work).&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have no issues with GetUser().username in the arcade editor in AGOL, it returns the active user in the active portal. But in Map Viewer and in Field Maps I get errors about or similar to a null object not having an attribute named 'username'.&amp;nbsp; This is in AGOL, but on a proxied service with stored credentials whose data source is in Enterprise 10.9.1.&amp;nbsp; This could be the problem, but I haven't tested further at this point.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 22:16:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/getuser-layer-username-not-working-online/m-p/1296935#M6254</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2023-06-07T22:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: GetUser($layer).username Not Working ONLINE</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/getuser-layer-username-not-working-online/m-p/1296944#M6255</link>
      <description>&lt;P&gt;Well, I just got it to work&amp;nbsp;&lt;EM&gt;sort of&lt;/EM&gt;. I set the field to "required" and "visible" in the Field Maps and my name showed up in the field in the Field Maps form. I'm working on webhooks email notifications in Make at the moment, and the output is weird.&amp;nbsp;It has&lt;SPAN&gt;&amp;nbsp;[Collection] before my name. WTF??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Logged by user:&lt;/STRONG&gt;&amp;nbsp;[Collection]Levi Cecil&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-06-07 at 3.20.31 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72617iDD754EC38346F27D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-06-07 at 3.20.31 PM.png" alt="Screen Shot 2023-06-07 at 3.20.31 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 22:40:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/getuser-layer-username-not-working-online/m-p/1296944#M6255</guid>
      <dc:creator>LeviCecil</dc:creator>
      <dc:date>2023-06-07T22:40:44Z</dc:date>
    </item>
  </channel>
</rss>

