<?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 Pulldata with Previous Survey Submissions in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-with-previous-survey-submissions/m-p/1038894#M33320</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible to use a Pulldata statement in Survey123 to add a note with data from a previous survey submission?&amp;nbsp; &amp;nbsp;Here's my use case:&lt;/P&gt;&lt;P&gt;We have COVID-19 daily screening forms we have to do before entering our office, whether staff or visitor, to declare that the person is clear/not clear to enter.&amp;nbsp; A lot of us have become forgetful in completing our forms every day.&amp;nbsp; What I would like is, for example, once you indicate your name in the screening form, to get a note that tells you the last time you submitted that form.&amp;nbsp; Is this possible?&amp;nbsp; If so, how?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other ideas of ways to remind people to submit their forms would also be welcome.&amp;nbsp; Some staff work from home, so the form does not always apply to everyone every day.&amp;nbsp; We have connectivity between Survey123 and Microsoft Power Automate to send e-mails, for example, but sending people unnecessary reminders might annoy them, so that's why I was thinking adding a note to the survey would be more appropriate, although I'm still open to other ideas to solve this problem.&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 19 Mar 2021 23:19:37 GMT</pubDate>
    <dc:creator>dgray</dc:creator>
    <dc:date>2021-03-19T23:19:37Z</dc:date>
    <item>
      <title>Pulldata with Previous Survey Submissions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-with-previous-survey-submissions/m-p/1038894#M33320</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible to use a Pulldata statement in Survey123 to add a note with data from a previous survey submission?&amp;nbsp; &amp;nbsp;Here's my use case:&lt;/P&gt;&lt;P&gt;We have COVID-19 daily screening forms we have to do before entering our office, whether staff or visitor, to declare that the person is clear/not clear to enter.&amp;nbsp; A lot of us have become forgetful in completing our forms every day.&amp;nbsp; What I would like is, for example, once you indicate your name in the screening form, to get a note that tells you the last time you submitted that form.&amp;nbsp; Is this possible?&amp;nbsp; If so, how?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other ideas of ways to remind people to submit their forms would also be welcome.&amp;nbsp; Some staff work from home, so the form does not always apply to everyone every day.&amp;nbsp; We have connectivity between Survey123 and Microsoft Power Automate to send e-mails, for example, but sending people unnecessary reminders might annoy them, so that's why I was thinking adding a note to the survey would be more appropriate, although I'm still open to other ideas to solve this problem.&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 23:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-with-previous-survey-submissions/m-p/1038894#M33320</guid>
      <dc:creator>dgray</dc:creator>
      <dc:date>2021-03-19T23:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata with Previous Survey Submissions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-with-previous-survey-submissions/m-p/1039069#M33324</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/221186"&gt;@dgray&lt;/a&gt;&amp;nbsp; Attached is a solution with a custom JavaScript function. Basically, I query the feature layer of the survey to retrieve the newest record submitted by the currently logged-in user and I get the submission date of the record.&amp;nbsp; The form assumes that the user is logged-in and that Editor tracking is enabled in the layer.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use the Create Survey from File option to import the XLSForm.&lt;/LI&gt;&lt;LI&gt;Copy the scripts folder into the survey directory&lt;/LI&gt;&lt;LI&gt;Publish the survey and submit records to see how it works.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="LastSubmitted.gif" style="width: 968px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/9033i3ABABE5B05008BF0/image-size/large?v=v2&amp;amp;px=999" role="button" title="LastSubmitted.gif" alt="LastSubmitted.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Mar 2021 05:13:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-with-previous-survey-submissions/m-p/1039069#M33324</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2021-03-21T05:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata with Previous Survey Submissions</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-with-previous-survey-submissions/m-p/1039437#M33341</link>
      <description>&lt;P&gt;Hi IsmaelChivite,&lt;/P&gt;&lt;P&gt;Wow, this looks great!&amp;nbsp; One question though.&amp;nbsp; We don't have users login for this survey; rather, the staff name is chosen using a Select One picklist.&amp;nbsp; What kind of modification could I make to this script to make it work based on an attribute, not based on a user login name?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 19:01:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-with-previous-survey-submissions/m-p/1039437#M33341</guid>
      <dc:creator>dgray</dc:creator>
      <dc:date>2021-03-22T19:01:53Z</dc:date>
    </item>
  </channel>
</rss>

