<?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: What is the expression to automatically populate a person's name on a field in Smart Form? in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/what-is-the-expression-to-automatically-populate-a/m-p/1333454#M7110</link>
    <description>&lt;P&gt;Great, this helped! I used&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;GetUser&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FeatureSetByName&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$datastore&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Channel Inspection'&lt;/SPAN&gt;&lt;SPAN&gt;)).&lt;/SPAN&gt;&lt;SPAN&gt;fullname and it worked! Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2023 16:34:50 GMT</pubDate>
    <dc:creator>StaciMcLaughlin</dc:creator>
    <dc:date>2023-09-28T16:34:50Z</dc:date>
    <item>
      <title>What is the expression to automatically populate a person's name on a field in Smart Form?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/what-is-the-expression-to-automatically-populate-a/m-p/1333116#M7104</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new with configuring Smart Forms, but I am trying to create a calculated expression for an "Inspector Name" field for an asset inspection form I created. I would like to have the inspector's name automatically populate, where it basically pulls from the ArcGIS Account name or their email possiblily.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StaciMcLaughlin_0-1695846690322.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/81822i81F7AE0A3D34D1AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StaciMcLaughlin_0-1695846690322.png" alt="StaciMcLaughlin_0-1695846690322.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Luckily I was able to figure out the expression to automatically pull in the Inspection date of when the form was complete with the time, but now I need to determine how I can automatically pull in the user name.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StaciMcLaughlin_1-1695846690279.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/81823iC3D82013FB058F2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StaciMcLaughlin_1-1695846690279.png" alt="StaciMcLaughlin_1-1695846690279.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has any insight or expressions they could share I would appreciate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 20:34:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/what-is-the-expression-to-automatically-populate-a/m-p/1333116#M7104</guid>
      <dc:creator>StaciMcLaughlin</dc:creator>
      <dc:date>2023-09-27T20:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: What is the expression to automatically populate a person's name on a field in Smart Form?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/what-is-the-expression-to-automatically-populate-a/m-p/1333153#M7105</link>
      <description>&lt;P&gt;Hello Staci&lt;/P&gt;&lt;P&gt;These types of functions are pretty well documented &lt;A href="https://developers.arcgis.com/arcade/function-reference/" target="_self"&gt;here.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The function you are looking for is the GetUser function&amp;nbsp;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/portal_functions/#getuser" target="_blank"&gt;https://developers.arcgis.com/arcade/function-reference/portal_functions/#getuser&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;GetUser()&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 27 Sep 2023 21:10:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/what-is-the-expression-to-automatically-populate-a/m-p/1333153#M7105</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2023-09-27T21:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: What is the expression to automatically populate a person's name on a field in Smart Form?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/what-is-the-expression-to-automatically-populate-a/m-p/1333209#M7107</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This information you provided is very helpful, thank you so much! I reviewed the GetUser function and I feel like I am getting very close. Per my screanshot I attached do you know how I can get it to return the fullname? In the output it's pulling in all my AGOL information in the inspector name field. Thank you again!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 00:15:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/what-is-the-expression-to-automatically-populate-a/m-p/1333209#M7107</guid>
      <dc:creator>StaciMcLaughlin</dc:creator>
      <dc:date>2023-09-28T00:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: What is the expression to automatically populate a person's name on a field in Smart Form?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/what-is-the-expression-to-automatically-populate-a/m-p/1333264#M7109</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/690773"&gt;@StaciMcLaughlin&lt;/a&gt;, the following will pull back the fullName of the logged in user:&lt;/P&gt;&lt;PRE&gt;// Returns full name of logged in user&lt;BR /&gt;GetUser($layer).fullName&lt;/PRE&gt;&lt;P&gt;You can just paste that directly in the Calculated expression area in FieldMaps Designer.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 08:16:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/what-is-the-expression-to-automatically-populate-a/m-p/1333264#M7109</guid>
      <dc:creator>MappyIan</dc:creator>
      <dc:date>2023-09-28T08:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: What is the expression to automatically populate a person's name on a field in Smart Form?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/what-is-the-expression-to-automatically-populate-a/m-p/1333454#M7110</link>
      <description>&lt;P&gt;Great, this helped! I used&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;GetUser&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FeatureSetByName&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$datastore&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Channel Inspection'&lt;/SPAN&gt;&lt;SPAN&gt;)).&lt;/SPAN&gt;&lt;SPAN&gt;fullname and it worked! Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 16:34:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/what-is-the-expression-to-automatically-populate-a/m-p/1333454#M7110</guid>
      <dc:creator>StaciMcLaughlin</dc:creator>
      <dc:date>2023-09-28T16:34:50Z</dc:date>
    </item>
  </channel>
</rss>

