<?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: Limit Repeat when Using Related Feature Service in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003316#M31220</link>
    <description>&lt;P&gt;Thanks. That warning may be unrelated - did you add additional questions (i.e. fields that weren't included in the original feature service schema)?&lt;/P&gt;&lt;P&gt;Also please note you have two data validation issues with the names - 'Date' is a reserved word and row 2 is too long (keep field names under 30 characters)&lt;/P&gt;</description>
    <pubDate>Fri, 20 Nov 2020 00:30:08 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-11-20T00:30:08Z</dc:date>
    <item>
      <title>Limit Repeat when Using Related Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003281#M31215</link>
      <description>&lt;P&gt;Hello, I currently have a form created in Connect that utilizes a relational feature service.&amp;nbsp; The form collects new data for the related table.&amp;nbsp; I have a repeat setup to add data to the related table and would like to limit it to only allow 1 record to be entered.&amp;nbsp; Does anyone have an idea as to how this can be done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 23:57:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003281#M31215</guid>
      <dc:creator>icf_Eric_Link</dc:creator>
      <dc:date>2020-11-19T23:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Repeat when Using Related Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003292#M31217</link>
      <description>&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;We can add repeat counts to limit the number of repeats entered:&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformrepeats.htm#ESRI_SECTION1_1FC4AD92333B4039A2D71BC293D356AA" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformrepeats.htm#ESRI_SECTION1_1FC4AD92333B4039A2D71BC293D356AA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 00:17:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003292#M31217</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-20T00:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Repeat when Using Related Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003304#M31218</link>
      <description>&lt;P&gt;Thanks Chris for your quick response.&amp;nbsp; I have tried adding a number 1 to the repeat_count however, I get an error stating that there is not a matching field in the existing feature service.&amp;nbsp; Is there a way to enter this value without having to have a matching field in the data?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 00:22:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003304#M31218</guid>
      <dc:creator>icf_Eric_Link</dc:creator>
      <dc:date>2020-11-20T00:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Repeat when Using Related Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003315#M31219</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="form.JPG" style="width: 839px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/640i1ACDC524EC6927E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="form.JPG" alt="form.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 00:26:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003315#M31219</guid>
      <dc:creator>icf_Eric_Link</dc:creator>
      <dc:date>2020-11-20T00:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Repeat when Using Related Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003316#M31220</link>
      <description>&lt;P&gt;Thanks. That warning may be unrelated - did you add additional questions (i.e. fields that weren't included in the original feature service schema)?&lt;/P&gt;&lt;P&gt;Also please note you have two data validation issues with the names - 'Date' is a reserved word and row 2 is too long (keep field names under 30 characters)&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 00:30:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003316#M31220</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-20T00:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Repeat when Using Related Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003317#M31221</link>
      <description>&lt;P&gt;Thanks for catching the Date issue.&amp;nbsp; Regarding the length of the field names row 3 is the name of the existing feature service I am connecting to and row 15 is the name of the related table.&amp;nbsp; I have not added any new fields that were not included in the existing feature service.&lt;/P&gt;&lt;P&gt;When I delete the "1" from the repeat_count cell I can successfully publish the form so I'm thinking entering a value in the repeat_count cell is some how causing the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 00:39:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003317#M31221</guid>
      <dc:creator>icf_Eric_Link</dc:creator>
      <dc:date>2020-11-20T00:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Repeat when Using Related Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003340#M31222</link>
      <description>&lt;P&gt;It looks like the repeat_count is stored in the parent table schema as a field. Further discussion and solution here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/survey-123-repeat-count-not-allowing-to-publish-form/td-p/808819" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/survey-123-repeat-count-not-allowing-to-publish-form/td-p/808819&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/112772"&gt;@Alber_Verster&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 03:15:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003340#M31222</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-20T03:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Repeat when Using Related Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003517#M31231</link>
      <description>&lt;P&gt;Thank you Chris.&amp;nbsp; I'll take a look.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 16:42:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003517#M31231</guid>
      <dc:creator>icf_Eric_Link</dc:creator>
      <dc:date>2020-11-20T16:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Repeat when Using Related Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003810#M31247</link>
      <description>&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;After looking into this issue more and understanding exactly how repeat_count works, when using a static value in the xslx form for repeat_count, a new field will automatically be added to the feature layer to store the value entered. This is required so that the field app can retrieve the stored value to then load the correct number of records in that repeat.&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;Therefore you will need a field in your feature layer called ${repeatname}_count where the&amp;nbsp;${repeatname} is the name of your begin repeat question that has the repeat_count applied. This can be created as read only and even hidden so that it is not displayed on the form in the field app.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This expains why we are getting prompted around adding a new field.&lt;BR /&gt;As it's a feature service, I believe the solution would be to add a field to the original service called &lt;EM&gt;{repeatname}&lt;/EM&gt;_count, where repeatname is the name of the related table.&lt;/P&gt;&lt;P&gt;Please let us know how you go.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Nov 2020 21:43:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1003810#M31247</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-22T21:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Repeat when Using Related Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1004141#M31269</link>
      <description>&lt;P&gt;Hey Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for looking into this and providing a solution.&amp;nbsp; It sounds straightforward and I'll let you know if I have any issues.&amp;nbsp; Thanks again!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 21:45:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1004141#M31269</guid>
      <dc:creator>icf_Eric_Link</dc:creator>
      <dc:date>2020-11-23T21:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Repeat when Using Related Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1004408#M31300</link>
      <description>&lt;P&gt;Chris, so I followed the suggested solution and got it to publish however, the form does not show the repeat/related table any longer.&amp;nbsp; The only thing that shows on the device is the name of the related table/repeat but no questions.&amp;nbsp; I added a new field to the parent feature service (not the related table) with _count at the end.&amp;nbsp; I tried 1 &amp;amp; 2 &amp;amp; 10 as values in the repeat_count option in connect with no luck.&amp;nbsp; When I remove the repeat_count values the form is back to normal and functioning properly.&amp;nbsp; Any additional ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 20:16:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/limit-repeat-when-using-related-feature-service/m-p/1004408#M31300</guid>
      <dc:creator>icf_Eric_Link</dc:creator>
      <dc:date>2020-11-24T20:16:18Z</dc:date>
    </item>
  </channel>
</rss>

