<?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 Pass Username and Date to Survey123 Form in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1358674#M53320</link>
    <description>&lt;P&gt;From Field Maps and a webhook I can pass the Global ID to a RELGlobalID like so&lt;/P&gt;&lt;P&gt;field:REL_GLOBALID={GLOBALID}&amp;amp;amp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;href="arcgis-survey123://?itemID=cb33fc9a37xxx440146&amp;amp;amp;field:REL_GLOBALID={GLOBALID}&amp;amp;amp;callback=https://fieldmaps.arcgis.app" rel="nofollow ugc" target="_blank"&amp;gt;Add Form&amp;lt;/a&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But Im curious how to pass the Current Date to a date field and the logged in user to a username field&lt;/P&gt;&lt;P&gt;1. Can I use the NOW to denote existing date and time?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;field:SomeDateFiled={NOW};&lt;/P&gt;&lt;P&gt;2. What about the logged in user?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; field:UserName={username};&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2023 18:02:37 GMT</pubDate>
    <dc:creator>kapalczynski</dc:creator>
    <dc:date>2023-12-08T18:02:37Z</dc:date>
    <item>
      <title>Pass Username and Date to Survey123 Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1358674#M53320</link>
      <description>&lt;P&gt;From Field Maps and a webhook I can pass the Global ID to a RELGlobalID like so&lt;/P&gt;&lt;P&gt;field:REL_GLOBALID={GLOBALID}&amp;amp;amp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;href="arcgis-survey123://?itemID=cb33fc9a37xxx440146&amp;amp;amp;field:REL_GLOBALID={GLOBALID}&amp;amp;amp;callback=https://fieldmaps.arcgis.app" rel="nofollow ugc" target="_blank"&amp;gt;Add Form&amp;lt;/a&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But Im curious how to pass the Current Date to a date field and the logged in user to a username field&lt;/P&gt;&lt;P&gt;1. Can I use the NOW to denote existing date and time?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;field:SomeDateFiled={NOW};&lt;/P&gt;&lt;P&gt;2. What about the logged in user?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; field:UserName={username};&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 18:02:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1358674#M53320</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2023-12-08T18:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Username and Date to Survey123 Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1358676#M53321</link>
      <description>&lt;P&gt;Got the date with this&amp;nbsp;&lt;/P&gt;&lt;P&gt;field:DATETIME={NOW()}&amp;amp;amp;&lt;/P&gt;&lt;P&gt;Now just need the logged in Username&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 18:13:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1358676#M53321</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2023-12-08T18:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Username and Date to Survey123 Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1358702#M53322</link>
      <description>&lt;P&gt;I tried the below with no success&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;field:UserName={username};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;field:UserName={theusername};&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 18:52:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1358702#M53322</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2023-12-08T18:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Username and Date to Survey123 Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1358712#M53324</link>
      <description>&lt;P&gt;Does the username&amp;nbsp;&lt;EM&gt;have&lt;/EM&gt; to come from the map? Or can it come from the username of the Survey123 form? If it can come from the form, then you can just add a row to the form with a "username" field type.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 19:14:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1358712#M53324</guid>
      <dc:creator>RyanUthoff</dc:creator>
      <dc:date>2023-12-08T19:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Username and Date to Survey123 Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1358787#M53326</link>
      <description>&lt;P&gt;No there is no username in the Field Maps data itself... I was trying to push the logged in user from Field Maps into a field value in Survey123... if possible&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 22:11:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1358787#M53326</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2023-12-08T22:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Username and Date to Survey123 Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1358794#M53327</link>
      <description>&lt;P&gt;I literally just had this come up yesterday. Unfortunately, I haven't been able to find a way to pass the username to S123.&lt;/P&gt;&lt;P&gt;I assume I have the same setup as you: web map which requires users log in/authenticate to use (in my case, using SSO), then pass that information into S123.&lt;/P&gt;&lt;P&gt;If someone has a solution, it would be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 22:18:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1358794#M53327</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2023-12-08T22:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Username and Date to Survey123 Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1359105#M53357</link>
      <description>&lt;P&gt;The arcade code for this can be picky.&amp;nbsp; See if this post helps&amp;nbsp; &amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-field-maps-questions/get-logged-in-username/m-p/1267104" target="_blank"&gt;https://community.esri.com/t5/arcgis-field-maps-questions/get-logged-in-username/m-p/1267104&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is also a field type of username that can do it for you in 123.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 15:18:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1359105#M53357</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-12-11T15:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Username and Date to Survey123 Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1359172#M53362</link>
      <description>&lt;P&gt;In Survey123:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GregKeith_0-1702312394918.png" style="width: 500px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/88633iD8C4B9FA1E7F03E2/image-dimensions/500x50?v=v2" width="500" height="50" role="button" title="GregKeith_0-1702312394918.png" alt="GregKeith_0-1702312394918.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 16:33:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1359172#M53362</guid>
      <dc:creator>ZenMasterZeke</dc:creator>
      <dc:date>2023-12-11T16:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Username and Date to Survey123 Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1359189#M53365</link>
      <description>&lt;P&gt;I don't think this will work exactly, at least for me. I am thinking Viewer Accounts within a web map. So, more like extract that username, and pass a name into a text field in S123.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 16:49:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1359189#M53365</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2023-12-11T16:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Username and Date to Survey123 Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1360097#M53412</link>
      <description>&lt;P&gt;Didnt think of that.. as they would have to be logged into S123 as well... I think this will work... going to test ... THANKS&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 23:36:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1360097#M53412</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2023-12-12T23:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Username and Date to Survey123 Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1360522#M53433</link>
      <description>&lt;P&gt;where do you assign the hidden field to the username field&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 19:13:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1360522#M53433</guid>
      <dc:creator>kapalczynski</dc:creator>
      <dc:date>2023-12-13T19:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Username and Date to Survey123 Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1360582#M53441</link>
      <description>&lt;P&gt;There is now a field type of username, not sure the diff.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1702498769343.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/88964i14EA261537A1563D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1702498769343.png" alt="DougBrowning_0-1702498769343.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this post may help&amp;nbsp;&amp;nbsp;&lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-assign-questions-based-on-user-roles-or-username-000027543" target="_blank"&gt;https://support.esri.com/en-us/knowledge-base/how-to-assign-questions-based-on-user-roles-or-username-000027543&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 20:19:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1360582#M53441</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-12-13T20:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Username and Date to Survey123 Form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1360651#M53460</link>
      <description>&lt;P&gt;The &lt;EM&gt;username&lt;/EM&gt; type should pull the user's username, whereas the pulldata("@property",fullUserName) would pull the full name... I think a picture does this explanation better justice:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1702504220844.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/88985i7AF95BF94D015CE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1702504220844.png" alt="abureaux_1-1702504220844.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 21:51:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pass-username-and-date-to-survey123-form/m-p/1360651#M53460</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2023-12-13T21:51:12Z</dc:date>
    </item>
  </channel>
</rss>

