<?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: data validation in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/data-validation/m-p/1330440#M51821</link>
    <description>&lt;P&gt;Are you using something like Survey123?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 22:30:39 GMT</pubDate>
    <dc:creator>spence_amzn</dc:creator>
    <dc:date>2023-09-19T22:30:39Z</dc:date>
    <item>
      <title>data validation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/data-validation/m-p/1330422#M51819</link>
      <description>&lt;P&gt;¡Hello!&lt;/P&gt;&lt;P&gt;I am working on a form where data such as name and personal identity card (ID) are captured, I would like to know if there is a way that before sending a record it would be validated against the feature layer using the ID attribute if the record has already been sent, that is, it already exists in the layer. This is in order to avoid sending duplicate data.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 21:39:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/data-validation/m-p/1330422#M51819</guid>
      <dc:creator>YenniferLinethCedeñoCampos</dc:creator>
      <dc:date>2023-09-19T21:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: data validation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/data-validation/m-p/1330440#M51821</link>
      <description>&lt;P&gt;Are you using something like Survey123?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 22:30:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/data-validation/m-p/1330440#M51821</guid>
      <dc:creator>spence_amzn</dc:creator>
      <dc:date>2023-09-19T22:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: data validation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/data-validation/m-p/1330476#M51827</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/443371"&gt;@YenniferLinethCedeñoCampos&lt;/a&gt;&amp;nbsp;You could do this using the pulldata("@layer") function using survey123 Connect. Check out this blog:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-pulldata-quot-layer/ba-p/1224415" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-pulldata-quot-layer/ba-p/1224415&lt;/A&gt;&amp;nbsp;or this video:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-videos/survey123-tricks-of-the-trade-live-query-arcgis/m-p/1228072#M54" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-videos/survey123-tricks-of-the-trade-live-query-arcgis/m-p/1228072#M54&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Essentially:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use a calculate question to query your feature layer using pulldata. Look for a record that already has the user ID&lt;/LI&gt;&lt;LI&gt;In your Identify Card question you can build an expression in the Constraint column to check if you got any value back in the calculate. If you get a value, you know it is a duplicate...&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If your survey data includes sensitive data, be careful!&amp;nbsp; To do this type of check, you need to make sure the layer you are querying has query capabilities on. If that is the case, anyone with access to the layer will potentially be able to use the REST API to look at the records in your layer... If your survey is private, that reduces the risk but if your survey is public....&amp;nbsp; If you are familiar with using feature layer views you can reduce the data exposed (by querying a layer with JUST the userID column visible).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 03:25:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/data-validation/m-p/1330476#M51827</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2023-09-20T03:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: data validation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/data-validation/m-p/1331124#M51879</link>
      <description>&lt;P&gt;Excelente, Thanks so much&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 15:59:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/data-validation/m-p/1331124#M51879</guid>
      <dc:creator>YenniferLinethCedeñoCampos</dc:creator>
      <dc:date>2023-09-21T15:59:54Z</dc:date>
    </item>
  </channel>
</rss>

