<?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 Survey submit fails with a table-feature class relationship in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-submit-fails-with-a-table-feature-class/m-p/863772#M26464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Sort of new to Survey123 so I might be missing something simple or doing something beyond the capabilities...Here's what I've got:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created a polygon feature class and table (the survey columns) in ArcCatalog along with a Simple, 1-Many relationship class between the feature (polygon 1) and table (many) using the GlobalId as the linking column.&amp;nbsp; This setup is then published to our online org account as a host feature layer.&amp;nbsp; I don't have any issues editing data in either the file geodatabase with ArcMap locally or the hosted feature layer via JavaScript API or map viewer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created a Survey123 with Connect (3.4.29b) using the feature service as the template.&amp;nbsp; Used xls to modify the columns, submission url and form id to the correct values.&amp;nbsp; Saved and loaded the xls. Published the survey.&amp;nbsp; Everything seems fine there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the survey from the web site form (not the device app - haven't tried that yet), all good until the submit.&amp;nbsp; Submit fails with error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Operation rolled back. Operation rolled back. Incorrect geometry type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which seems odd since I shouldn't be submitting any geometry to the table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watching the network tab in chrome shows the applyedits operation to the hosted feature layer.&amp;nbsp; Sure enough, it's adding a feature to the polygon layer with an (0,0) point.&amp;nbsp; The feature json to the table is correct.&amp;nbsp; I can copy and paste it to the REST pages and get a successful insert.&amp;nbsp; So I'm not sure why the survey is trying to submit a record to the polygon layer.&amp;nbsp; I don't have geopoint column in the XLS but it does have one listed in the "schema" tab of the Connect app.&amp;nbsp; I can't find a way to delete it there.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some other setting to tell the survey to skip any geometry edits?&amp;nbsp; Is the explicit relationship class causing some sort of problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Mar 2019 19:42:30 GMT</pubDate>
    <dc:creator>FredSpataro</dc:creator>
    <dc:date>2019-03-28T19:42:30Z</dc:date>
    <item>
      <title>Survey submit fails with a table-feature class relationship</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-submit-fails-with-a-table-feature-class/m-p/863772#M26464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Sort of new to Survey123 so I might be missing something simple or doing something beyond the capabilities...Here's what I've got:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created a polygon feature class and table (the survey columns) in ArcCatalog along with a Simple, 1-Many relationship class between the feature (polygon 1) and table (many) using the GlobalId as the linking column.&amp;nbsp; This setup is then published to our online org account as a host feature layer.&amp;nbsp; I don't have any issues editing data in either the file geodatabase with ArcMap locally or the hosted feature layer via JavaScript API or map viewer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created a Survey123 with Connect (3.4.29b) using the feature service as the template.&amp;nbsp; Used xls to modify the columns, submission url and form id to the correct values.&amp;nbsp; Saved and loaded the xls. Published the survey.&amp;nbsp; Everything seems fine there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the survey from the web site form (not the device app - haven't tried that yet), all good until the submit.&amp;nbsp; Submit fails with error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Operation rolled back. Operation rolled back. Incorrect geometry type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which seems odd since I shouldn't be submitting any geometry to the table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watching the network tab in chrome shows the applyedits operation to the hosted feature layer.&amp;nbsp; Sure enough, it's adding a feature to the polygon layer with an (0,0) point.&amp;nbsp; The feature json to the table is correct.&amp;nbsp; I can copy and paste it to the REST pages and get a successful insert.&amp;nbsp; So I'm not sure why the survey is trying to submit a record to the polygon layer.&amp;nbsp; I don't have geopoint column in the XLS but it does have one listed in the "schema" tab of the Connect app.&amp;nbsp; I can't find a way to delete it there.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some other setting to tell the survey to skip any geometry edits?&amp;nbsp; Is the explicit relationship class causing some sort of problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 19:42:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-submit-fails-with-a-table-feature-class/m-p/863772#M26464</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2019-03-28T19:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Survey submit fails with a table-feature class relationship</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-submit-fails-with-a-table-feature-class/m-p/863773#M26465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fred,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to check, you are submitting a new record in the web form that has a polygon geometry but not a polygon question (as that isn't supported)? &amp;nbsp;That isn't supported at this time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 18:16:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-submit-fails-with-a-table-feature-class/m-p/863773#M26465</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-03-29T18:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Survey submit fails with a table-feature class relationship</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-submit-fails-with-a-table-feature-class/m-p/863774#M26466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the follow-up, sorry for the delay...spring break road trip last week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think that's the scenario.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The survey form is to the "table" in the feature service.&amp;nbsp; No geometry should be included.&amp;nbsp; But when I inspect the network traffic the survey form submits TWO records to the feature service: 1 for the table with all the user values from the form and 1 for the polygon with a 0,0 point.&amp;nbsp; I don't want it to submit the record for the polygon only the table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 17:10:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-submit-fails-with-a-table-feature-class/m-p/863774#M26466</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2019-04-03T17:10:44Z</dc:date>
    </item>
  </channel>
</rss>

