<?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: How to add name of user as default value in Survey123? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849422#M22961</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a survey with a name field and want to pre-populate with the users signed in AGOL username. In the default column what is the method to use for this? ("username") - literally translates to text in the field. I read a blog about this but cannot find it anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/390740_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Dec 2017 21:30:30 GMT</pubDate>
    <dc:creator>Lake_Worth_BeachAdmin</dc:creator>
    <dc:date>2017-12-13T21:30:30Z</dc:date>
    <item>
      <title>How to add name of user as default value in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849417#M22956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating a survey for the purpose of collecting data when biological samples are collected from roadkill or other dead wildlife in the field. &amp;nbsp;Usually, the person collecting the sample will be alone and therefore will also fill out the form in Survey123. &amp;nbsp; However, sometimes one person will collect the sample while another person will fill out the form. &amp;nbsp; I would like to create a field called "Sampled by:" with a default value of the name of the survey user. &amp;nbsp;Is this possible in Survey123?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 18:27:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849417#M22956</guid>
      <dc:creator>RebeccaFuda</dc:creator>
      <dc:date>2017-04-25T18:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to add name of user as default value in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849418#M22957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this a feature service hosted in ArcGIS Online? If so, you can turn editor tracking on and it will record who made the changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solomon Pulapkura&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.vestra.com/gis"&gt;https://www.vestra.com/gis&lt;/A&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 19:30:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849418#M22957</guid>
      <dc:creator>SolomonPulapkura</dc:creator>
      <dc:date>2017-04-25T19:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to add name of user as default value in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849419#M22958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rebecca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can prepopulate the username of a user using the property("username") function in the default or calculate column; we don't have a method for putting in the full name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 19:38:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849419#M22958</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-04-25T19:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to add name of user as default value in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849420#M22959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this function run in app code or is this in the geodatabase? I am wondering if I can add the function to the Feature Template so it works if I add the feature service to a web map used by a collector app as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this pulling the ArcGIS Online account user?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 14:08:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849420#M22959</guid>
      <dc:creator>GlenGardner1</dc:creator>
      <dc:date>2017-04-28T14:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to add name of user as default value in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849421#M22960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Glen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For services hosted in ArcGIS Online, this will pull in the ArcGIS Online username. &amp;nbsp;The way specified above is within the Survey123 app only; however, with Editor Tracking, you have a (non-visible by default) field that records the username that both Survey123 and Collector use. &amp;nbsp;See&amp;nbsp;&lt;A class="link-titled" href="http://doc.arcgis.com/en/arcgis-online/share-maps/manage-hosted-feature-layers.htm" title="http://doc.arcgis.com/en/arcgis-online/share-maps/manage-hosted-feature-layers.htm"&gt;Manage hosted feature layers—ArcGIS Online Help | ArcGIS&lt;/A&gt;&amp;nbsp;for more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 16:53:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849421#M22960</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-04-28T16:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to add name of user as default value in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849422#M22961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a survey with a name field and want to pre-populate with the users signed in AGOL username. In the default column what is the method to use for this? ("username") - literally translates to text in the field. I read a blog about this but cannot find it anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/390740_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 21:30:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849422#M22961</guid>
      <dc:creator>Lake_Worth_BeachAdmin</dc:creator>
      <dc:date>2017-12-13T21:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to add name of user as default value in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849423#M22962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 ways to accomplish this:&lt;/P&gt;&lt;P&gt;- use a &lt;A href="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformessentials.htm#ESRI_SECTION1_7D01DF0EF9E24EC281FFDD321ED14FA8"&gt;question of type username&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- have the &lt;A href="http://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_D52683929B1C4543B236BAC00E7F1876"&gt;function property('username') &lt;/A&gt;in the &lt;EM&gt;calculation&lt;/EM&gt; column of a text, hidden, or calculate question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also note that this is normally stored in the Editor Tracking fields automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 21:44:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849423#M22962</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-12-13T21:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to add name of user as default value in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849424#M22963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James i tried the calculation method and its not returning the AGOL username, my layout is below.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/390804_pastedImage_1.png" style="width: 620px; height: 37px;" /&gt;&lt;/P&gt;&lt;P&gt;and the result I see is:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/390805_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 13:02:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849424#M22963</guid>
      <dc:creator>Lake_Worth_BeachAdmin</dc:creator>
      <dc:date>2017-12-14T13:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to add name of user as default value in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849425#M22964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function is &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;property('username')&lt;/SPAN&gt; , not just &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;('username')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 17:46:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849425#M22964</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-12-14T17:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to add name of user as default value in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849426#M22965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;i want to pre-populate the username but i don't want to have it shown on the survey. I just want to collect the data "username" when i run a report. Can this be done?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2019 23:27:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849426#M22965</guid>
      <dc:creator>JevitaWebster</dc:creator>
      <dc:date>2019-03-06T23:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to add name of user as default value in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849427#M22966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jevita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using the "username" question type in Connect.&amp;nbsp;When signed in to ArcGIS Online or ArcGIS Enterprise, this field is automatically populated with the account user name. This question type is hidden and is not displayed on the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 21:52:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849427#M22966</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-03-07T21:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to add name of user as default value in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849428#M22967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 21:56:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/849428#M22967</guid>
      <dc:creator>JevitaWebster</dc:creator>
      <dc:date>2019-03-07T21:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to add name of user as default value in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/1098372#M37185</link>
      <description>&lt;P&gt;Hi James! I am creating a citizen science survey in (Survey123 Connect). The survey will be open and I would like to generate unique alias names for each user. Is this possible in XLS forms?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 10:17:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/1098372#M37185</guid>
      <dc:creator>FrankHanssen</dc:creator>
      <dc:date>2021-09-15T10:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to add name of user as default value in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/1155450#M41413</link>
      <description>&lt;P&gt;For readers who find this question in 2022:&lt;BR /&gt;Apparently, the property()-function is no longer available (see &lt;A href="https://support.esri.com/en/technical-article/000022833" target="_blank" rel="noopener"&gt;https://support.esri.com/en/technical-article/000022833&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Now, you should use the following code, with 'username' as 'propertyname':&lt;/P&gt;&lt;PRE&gt;pulldata("@property", 'propertyname')&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2022 13:06:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-add-name-of-user-as-default-value-in/m-p/1155450#M41413</guid>
      <dc:creator>Manu</dc:creator>
      <dc:date>2022-03-19T13:06:32Z</dc:date>
    </item>
  </channel>
</rss>

