<?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: Survey123: Parsing “Creator” field value to get clean user name in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789629#M7958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the &lt;EM&gt;pulldata()&lt;/EM&gt; function may do the trick for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://www.youtube.com/watch?v=CTq-ux2v5ds" title="https://www.youtube.com/watch?v=CTq-ux2v5ds"&gt;Survey123 for ArcGIS – XLSForm: Enabling CSV Data into your Survey - YouTube&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A class="link-titled" href="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_A3C2F3566F974734B55ECECD31C6CA91" title="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_A3C2F3566F974734B55ECECD31C6CA91"&gt;Formulas—Survey123 for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/groups/survey123/blog/2016/10/27/the-pulldata-function-access-external-data"&gt;https://community.esri.com/groups/survey123/blog/2016/10/27/the-pulldata-function-access-external-data&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Aug 2018 13:05:08 GMT</pubDate>
    <dc:creator>IsmaelChivite</dc:creator>
    <dc:date>2018-08-15T13:05:08Z</dc:date>
    <item>
      <title>Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789628#M7957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our users log into ArcGIS Online (AGOL) and Esri’s mobile apps with enterprise credentials.&amp;nbsp; Our AGOL username is automatically created from our email address and a tag at the end.&amp;nbsp; Like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstname.Lastname@xyz.com_xyz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Survey123, the AGOL username of the person who logs into the app and submits a completed form can be calculated using the "property('username')" formula.&amp;nbsp; I would like to have the AGOL username populated in my Survey123 form as input to a question, line like - “Inspected&amp;nbsp;By”.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Survey123 Connect, how do I parse the AGOL username calculated by "property('username')" into a readable name?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Firstname.Lastname@xyz.com_xyz &amp;nbsp;--&amp;gt; &amp;nbsp;Firstname Lastname&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 11:12:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789628#M7957</guid>
      <dc:creator>JoeFlannery</dc:creator>
      <dc:date>2018-08-15T11:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “Creator” field value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789629#M7958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the &lt;EM&gt;pulldata()&lt;/EM&gt; function may do the trick for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://www.youtube.com/watch?v=CTq-ux2v5ds" title="https://www.youtube.com/watch?v=CTq-ux2v5ds"&gt;Survey123 for ArcGIS – XLSForm: Enabling CSV Data into your Survey - YouTube&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A class="link-titled" href="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_A3C2F3566F974734B55ECECD31C6CA91" title="http://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_A3C2F3566F974734B55ECECD31C6CA91"&gt;Formulas—Survey123 for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/groups/survey123/blog/2016/10/27/the-pulldata-function-access-external-data"&gt;https://community.esri.com/groups/survey123/blog/2016/10/27/the-pulldata-function-access-external-data&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 13:05:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789629#M7958</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2018-08-15T13:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “Creator” field value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789630#M7959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ismael:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response.&amp;nbsp; I see that I have made a mistake in my original question, which crossed between &lt;EM&gt;Survey123 Connect&lt;/EM&gt; and &lt;EM&gt;Report Template&lt;/EM&gt; building in MS-Word.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;I am working in &lt;EM&gt;Survey123 Connect&lt;/EM&gt; and attempting to use the “property('username')” in the calculation field to populate the &lt;EM&gt;Inspected By:&lt;/EM&gt; slot of my survey form.&amp;nbsp; The property('username') comes into my form line as expected from our enterprise login username.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&lt;IMG alt="username" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/418792_Username1.JPG" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to format this calculation to be “Joe Flannery” (Firstname-space-Lastname).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to understand MS-Excel formulas for this task just to get my head wrapped about the concept and have gotten as far as using this to parse out the name:&lt;/P&gt;&lt;P&gt;=PROPER(LEFT(E5,FIND("@",E5)-1))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this point, I’m not even sure that I can use an Excel formula like the one above in the Survey123 XLSform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your patience as I define my need.&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 19:45:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789630#M7959</guid>
      <dc:creator>JoeFlannery</dc:creator>
      <dc:date>2018-08-15T19:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789631#M7960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This gets me pretty darn close!&lt;/P&gt;&lt;P&gt;Since all of our Survey123 users have an enterprise login with their corporate email address, they all have the same 12 characters after their name.&amp;nbsp; Here, all I do is keep the text that precedes the last 12 characters to their AGOL user name, albeit, with a dot between first and last name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="excel" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/418984_Excel.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="connect" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/418991_Connect.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 19:41:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789631#M7960</guid>
      <dc:creator>JoeFlannery</dc:creator>
      <dc:date>2018-08-17T19:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789632#M7961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe, I know this is an old post and most likely you've resolved how to do this for your needs.&lt;/P&gt;&lt;P&gt;But I thought I'd post how I'm doing this using the answer Ismael provided above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a csv file containing 2 columns (name - username) and save this to the media folder of your survey.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/431343_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;In this example the csv is saved as ServicePerson.csv in the media folder of a survey called Water Unit Job Details.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/431344_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;In your survey in Survey123 Connect add a row with a calculation like this.&lt;/P&gt;&lt;P style="text-align: center;"&gt;pulldata('ServicePerson','name','username',property('username')&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;IMG class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/431342_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;What this does is...(I find it easiest to read the calculation from right to left)&lt;/P&gt;&lt;OL&gt;&lt;LI style="text-align: left;"&gt;get&amp;nbsp;the username of the person signed into&amp;nbsp;Survey123 (property('username')&lt;/LI&gt;&lt;LI style="text-align: left;"&gt;use this to find the row in&amp;nbsp;ServicePerson.csv where the value in the 'username' column is the same as &lt;SPAN&gt;(property('username')&lt;/SPAN&gt;&amp;nbsp;- the username of the person signed into Survey123.&lt;/LI&gt;&lt;LI style="text-align: left;"&gt;Then finally from this matching row in&amp;nbsp;ServicePerson.csv get the value in the name field and use this to populate your field in Survey123.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 21:06:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789632#M7961</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-12-11T21:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789633#M7962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well done, Michael!&lt;/P&gt;&lt;P&gt;Thank you for the follow-up response.&amp;nbsp; I'll give this a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2018 14:54:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789633#M7962</guid>
      <dc:creator>JoeFlannery</dc:creator>
      <dc:date>2018-12-12T14:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789634#M7963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does property('username') work when the person taking the survey is not signed in to Survey123?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will allow collection of data while not signed in and I've found that the 'username' field type will not record the username when not signed in (makes sense, I guess).&amp;nbsp; It does not add the username when the user signs in to submit the survey.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 23:24:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789634#M7963</guid>
      <dc:creator>TI</dc:creator>
      <dc:date>2019-01-08T23:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789635#M7964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see my reply to your other post here:&amp;nbsp;&lt;A href="https://community.esri.com/thread/226878-survey123-username-field-is-null"&gt;https://community.esri.com/thread/226878-survey123-username-field-is-null&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 23:39:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789635#M7964</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-01-08T23:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789636#M7965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;property('username') returns the signed in username, if the user is not signed in then no value will be returned.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;In surveys where I want to ensure submitted info is from signed in users I'll add all survey question into a group then use a relevant expression on the begin group line to only show if the user is signed in.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;If the user isn't signed in they'll see the note asking them to sign in, at this point the user can still submit the survey but it will be empty.&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;IMG class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/432781_pastedImage_1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;If I want to ensure empty surveys cannot be submitted then I move the SERVICE_PERSON row (in my example) to the top, and make it&amp;nbsp;a required field (normally make it hidden too).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;IMG class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/432811_pastedImage_2.png" /&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 02:00:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789636#M7965</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-01-09T02:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789637#M7966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a reasonable solution in some cases, and I have considered doing something similar to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, a lot of our users will be out of network access while collecting data.&amp;nbsp; Therefore signing in after commencing survey collection may not be possible (or at least not until after they've returned to the office, which would require them to double-handle the data).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 02:08:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789637#M7966</guid>
      <dc:creator>TI</dc:creator>
      <dc:date>2019-01-09T02:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789638#M7967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I sign into Survey123 and download the survey I'm working with then go &lt;SPAN&gt;out of network coverage, &lt;SPAN style="background-color: #ffffff;"&gt;property('username') still works even though I have no network connection. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;A network connection is needed to sign in, download and send surveys, but the rest of the time Survey123 is effectively working offline.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 02:20:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789638#M7967</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-01-09T02:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789639#M7968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's correct.&amp;nbsp; The problem in our case is that users get signed out from time to time without their knowing it, and if they are out in the field without any network and signed out, then it is too late to do anything about it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 02:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789639#M7968</guid>
      <dc:creator>TI</dc:creator>
      <dc:date>2019-01-09T02:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789640#M7969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason users are being signed out after a period of time when offline is that, in the current released version of the app (3.1), when the AGO/Portal user login token expires an attempt is made to refresh the token from AGO/Portal to keep the user signed in while the app is active. If the device is offline this token refresh fails and the user is signed out. In the 3.2 release of the app we have addressed this issue and when the device is offline the call to refresh the token will not be made until the device is online again. This will mean the user is no longer signed out and the username field should be populated with a value provided the app is showing the user as still being signed in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently a beta version of 3.2 is available on the Survey123 &lt;A href="https://earlyadopter.esri.com/project/forum/default.html?cap=e69ef91f45744b98882c651f7b518eb7"&gt;Early Adopter Community&lt;/A&gt; (EAC) website and this beta version contains the fix if you would like to test it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 04:38:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789640#M7969</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-01-09T04:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789641#M7970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Phil.&amp;nbsp; This is good to know.&amp;nbsp; I need to convince my workplace to upgrade our fleet of iPads before we can upgrade from Survey123 version 2.8.2.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp; I think I might have convinced them, but time will tell.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 04:52:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789641#M7970</guid>
      <dc:creator>TI</dc:creator>
      <dc:date>2019-01-09T04:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789642#M7971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am encountering a problem with the username variable being available in the field app but not in the webform.&amp;nbsp; Is that normal.&amp;nbsp; I am using the username variable value to check display fields and ability to post data.&amp;nbsp; I don't know why the two implementations appear to act differently.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A piece of the form is posted here,&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/455053_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;I can't access the variable 'uname' in the web app.&amp;nbsp; Users must be logged in to view the form as it is shared to only certain groups. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 21:45:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789642#M7971</guid>
      <dc:creator>MaazaMekuria</dc:creator>
      <dc:date>2019-08-01T21:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789643#M7972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maaza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using property('username'), I would recommend using a question of type username, which accomplishes the same thing. The property() function has been deprecated from the XLSForm specification and should not be used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 17:28:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789643#M7972</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-08-08T17:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789644#M7973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, James.&amp;nbsp; The use of the username type resolved the implementation difference between the web form and the field app and loss of username.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 19:55:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789644#M7973</guid>
      <dc:creator>MaazaMekuria</dc:creator>
      <dc:date>2019-08-08T19:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789645#M7974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since this is now deprecated, how could I return the results of&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;property('online')&lt;/SPAN&gt; to test if a user has connectivity?&lt;/P&gt;&lt;P&gt;Never mind - found the answer here:&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm"&gt;Prepopulate answers—Survey123 for ArcGIS | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2019 18:13:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/789645#M7974</guid>
      <dc:creator>wcozzens</dc:creator>
      <dc:date>2019-11-15T18:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/1184209#M43325</link>
      <description>&lt;P&gt;Update. A bunch of options have been added since this question was posted to make life easier.&lt;/P&gt;&lt;P&gt;Check the Device and user properties help topic here: &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_D52683929B1C4543B236BAC00E7F1876" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_D52683929B1C4543B236BAC00E7F1876&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsmaelChivite_0-1655688705728.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43806i3C464D90447182F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="IsmaelChivite_0-1655688705728.png" alt="IsmaelChivite_0-1655688705728.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 01:31:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/1184209#M43325</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2022-06-20T01:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: Parsing “property('username')” calculation value to get clean user name</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/1212553#M44834</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;for posting this...way easier!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 17:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-parsing-property-username-calculation/m-p/1212553#M44834</guid>
      <dc:creator>CatherineHall678</dc:creator>
      <dc:date>2022-09-14T17:12:13Z</dc:date>
    </item>
  </channel>
</rss>

