<?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 expression will not work with a question in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/getuser-expression-will-not-work-with-a-question/m-p/1217195#M4600</link>
    <description>&lt;P&gt;@Anonymous User&amp;nbsp;any help? Is this a known limitation?&lt;/P&gt;</description>
    <pubDate>Wed, 28 Sep 2022 23:15:35 GMT</pubDate>
    <dc:creator>NevilleWilson_Everick</dc:creator>
    <dc:date>2022-09-28T23:15:35Z</dc:date>
    <item>
      <title>GetUser expression will not work with a question</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/getuser-expression-will-not-work-with-a-question/m-p/1207506#M4405</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Any Ideas why this arcade expression will not work? Trying to populate the name of the user who made the change into the field.&lt;/P&gt;&lt;P&gt;The expression will work in arcade test mode; however the return will not update into the field.&lt;/P&gt;&lt;P&gt;The same question works to populate the date field.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var userInfo = GetUser(portal("&lt;/SPAN&gt;&lt;A title="https://rtw.maps.arcgis.com%22%29%2c%22%22%29/" target="_blank" rel="noreferrer noopener"&gt;https://rtw.maps.arcgis.com"),"")&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;var name = (userinfo["fullName"])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if ($feature["Buffer_Active"] == "Deactivated" || $feature["Buffer_Active"] != "Active"){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Test.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49881i7441BBB2F18A7116/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Test.png" alt="Test.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Test2.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49882i5B5642C85865467A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Test2.png" alt="Test2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also had no luck with these expressions:&lt;/P&gt;&lt;P&gt;//var userInfo = GetUser(portal("&lt;A href="https://rtw.maps.arcgis.com" target="_blank"&gt;https://rtw.maps.arcgis.com&lt;/A&gt;"),"")&lt;BR /&gt;var userInfo = GetUser($layer)&lt;BR /&gt;var name = (userinfo["fullName"])&lt;BR /&gt;//var userInfo = GetUser(portal("&lt;A href="https://rtw.maps.arcgis.com" target="_blank"&gt;https://rtw.maps.arcgis.com&lt;/A&gt;")).fullName&lt;BR /&gt;if ($feature["Buffer_Active"] == "Deactivated" || $feature["Buffer_Active"] != "Active"){&lt;BR /&gt;return name&lt;BR /&gt;//return userInfo&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eerr33.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49883i6397490BFDA850BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eerr33.png" alt="eerr33.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Run.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49884iDD5A2F6F888BD56A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Run.png" alt="Run.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eerr3.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49885iF55182FF6E82D281/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eerr3.png" alt="eerr3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 23:46:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/getuser-expression-will-not-work-with-a-question/m-p/1207506#M4405</guid>
      <dc:creator>NevilleWilson_Everick</dc:creator>
      <dc:date>2022-08-30T23:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: GetUser expression will not work with a question</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/getuser-expression-will-not-work-with-a-question/m-p/1217195#M4600</link>
      <description>&lt;P&gt;@Anonymous User&amp;nbsp;any help? Is this a known limitation?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 23:15:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/getuser-expression-will-not-work-with-a-question/m-p/1217195#M4600</guid>
      <dc:creator>NevilleWilson_Everick</dc:creator>
      <dc:date>2022-09-28T23:15:35Z</dc:date>
    </item>
  </channel>
</rss>

