<?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: Restrict adding new records to hosted feature layer to only Survey 123 webform or app in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/restrict-adding-new-records-to-hosted-feature/m-p/1253954#M47217</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/575841"&gt;@Jamie_Leitch_CNF&lt;/a&gt;&amp;nbsp;Sorry you are right, I misinterpreted your query&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2023 17:18:18 GMT</pubDate>
    <dc:creator>Richard_Purkis</dc:creator>
    <dc:date>2023-02-01T17:18:18Z</dc:date>
    <item>
      <title>Restrict adding new records to hosted feature layer to only Survey 123 webform or app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/restrict-adding-new-records-to-hosted-feature/m-p/1253876#M47213</link>
      <description>&lt;P&gt;For a public survey 123 survey published to ArcGIS Online, obviously the underlying feature layer (or feature layer view) must allow editing/adding records by public users.&amp;nbsp; This means that a public user with a free ArcGIS Online account, could, if they were so inclined, discover the associated feature layer, open it in Map Viewer, and add features at will.&lt;/P&gt;&lt;P&gt;Is there a way to restrict the adding of records to a hosted feature layer in ArcGIS Online to only a Survey 123 web form or the Survey 123 app?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 15:41:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/restrict-adding-new-records-to-hosted-feature/m-p/1253876#M47213</guid>
      <dc:creator>Jamie_Leitch_CNF</dc:creator>
      <dc:date>2023-02-01T15:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict adding new records to hosted feature layer to only Survey 123 webform or app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/restrict-adding-new-records-to-hosted-feature/m-p/1253925#M47214</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/575841"&gt;@Jamie_Leitch_CNF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I believe the resolution from this &lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/can-i-turn-off-survey-programmatically/m-p/1233705#M46151" target="_self"&gt;thread&lt;/A&gt; is the same resolution for you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Using the new pulldata("@layer") function you can count the number of records submitted to a survey (granted that your survey layer has query capabilities enabled).&amp;nbsp; &amp;nbsp;With that, you can build a constraint to prevent further submits, and show a message indicating that the survey is closed.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Check out&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" rel="noopener"&gt;this video&lt;/A&gt;&amp;nbsp;on minute 22:10, as it describes how to do it. Also some additional help in&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" rel="noopener"&gt;this blog&lt;/A&gt;, and this&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_BB97985CAFB740EE8AEF99EFD6E238E3" target="_blank" rel="noopener nofollow noreferrer"&gt;help topic&lt;/A&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 16:32:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/restrict-adding-new-records-to-hosted-feature/m-p/1253925#M47214</guid>
      <dc:creator>Richard_Purkis</dc:creator>
      <dc:date>2023-02-01T16:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict adding new records to hosted feature layer to only Survey 123 webform or app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/restrict-adding-new-records-to-hosted-feature/m-p/1253937#M47215</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/361875"&gt;@Richard_Purkis&lt;/a&gt;&amp;nbsp; for the suggestion.&amp;nbsp; This seems to address restricting the adding of records through a Survey 123 web form based on the number of records in the feature layer.&amp;nbsp; I am wondering if there is a way to restrict the adding of new records to the underlying feature layer of a Survey 123 survey at the feature layer level based on what application is being used.&amp;nbsp; So because the feature layer is shared to the public and allows adding new features, a user could add features to that layer through the Map Viewer in AGO, and not using the Survey 123 web form.&lt;/P&gt;&lt;P&gt;To test this, I created a public survey in AGO in my organization's account.&amp;nbsp; I then searched for the feature layer in AGO using my personal free AGO account, and added it to a web map.&amp;nbsp; I was then able to add features to this feature layer using the Map Viewer, thereby bypassing the survey web form.&amp;nbsp; The downfall of this is that someone could potentially add dozens of meaningless features to the survey's feature layer.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 16:50:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/restrict-adding-new-records-to-hosted-feature/m-p/1253937#M47215</guid>
      <dc:creator>Jamie_Leitch_CNF</dc:creator>
      <dc:date>2023-02-01T16:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict adding new records to hosted feature layer to only Survey 123 webform or app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/restrict-adding-new-records-to-hosted-feature/m-p/1253954#M47217</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/575841"&gt;@Jamie_Leitch_CNF&lt;/a&gt;&amp;nbsp;Sorry you are right, I misinterpreted your query&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 17:18:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/restrict-adding-new-records-to-hosted-feature/m-p/1253954#M47217</guid>
      <dc:creator>Richard_Purkis</dc:creator>
      <dc:date>2023-02-01T17:18:18Z</dc:date>
    </item>
  </channel>
</rss>

