<?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: Why do I get the error &amp;quot;unable to add feature service definition&amp;quot; when creating a feature service based on an existing service? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/why-do-i-get-the-error-quot-unable-to-add-feature/m-p/81802#M3995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kelly,&lt;/P&gt;&lt;P&gt;I can't share the service publicly. I can create you an account in our Organization if you'd be willing to test it.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2018 23:31:41 GMT</pubDate>
    <dc:creator>WalkerHenry</dc:creator>
    <dc:date>2018-11-13T23:31:41Z</dc:date>
    <item>
      <title>Why do I get the error "unable to add feature service definition" when creating a feature service based on an existing service?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-do-i-get-the-error-quot-unable-to-add-feature/m-p/81800#M3993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;My AGOL Org has a number of templates that users create their own hosted feature services off of by using the Create Feature Layer from an Existing Layer option under Content.&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;One of the templates is now giving the error&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;"Unable to add feature service definition"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;when this action is attempted.&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;The error details say&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;"Column name 'geometry' does not exist in the target table or view."&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://i.stack.imgur.com/hpw3X.png" style="color: rgba(53, 141, 170, 0.8); border: 0px; font-weight: inherit; text-decoration: underline;"&gt;&lt;IMG alt="Error" src="https://i.stack.imgur.com/hpw3X.png" style="border: 0px; font-weight: inherit;" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;Is the 'target' the new feature service or the one being based on? The original feature service is a point geometry and appears fine.&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;The user that reported the issue was able to create a new feature service and then discovered the issue the next day when he was unable to enable attachments on his service. I don't know if the two issues are related. The error when enabling attachments is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;"There are no primary or candidate keys in the referenced table '&lt;EM style="border: 0px; font-weight: inherit;"&gt;tablename&lt;/EM&gt;' that match the referencing column list in the foreign key 'FK_&lt;EM style="border: 0px; font-weight: inherit;"&gt;servicename&lt;/EM&gt;.'&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Could not create constraint or index. See previous errors.&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;Can anyone tell me what the problem is here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 23:32:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-do-i-get-the-error-quot-unable-to-add-feature/m-p/81800#M3993</guid>
      <dc:creator>WalkerHenry</dc:creator>
      <dc:date>2018-11-08T23:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I get the error "unable to add feature service definition" when creating a feature service based on an existing service?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-do-i-get-the-error-quot-unable-to-add-feature/m-p/81801#M3994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you able to share the source feature service?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2018 00:20:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-do-i-get-the-error-quot-unable-to-add-feature/m-p/81801#M3994</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2018-11-10T00:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I get the error "unable to add feature service definition" when creating a feature service based on an existing service?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-do-i-get-the-error-quot-unable-to-add-feature/m-p/81802#M3995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kelly,&lt;/P&gt;&lt;P&gt;I can't share the service publicly. I can create you an account in our Organization if you'd be willing to test it.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2018 23:31:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-do-i-get-the-error-quot-unable-to-add-feature/m-p/81802#M3995</guid>
      <dc:creator>WalkerHenry</dc:creator>
      <dc:date>2018-11-13T23:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I get the error "unable to add feature service definition" when creating a feature service based on an existing service?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/why-do-i-get-the-error-quot-unable-to-add-feature/m-p/81803#M3996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Walker,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try getting in touch with tech support. That way a dedicated analyst can work through this issue with you and perform tests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2018 18:21:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/why-do-i-get-the-error-quot-unable-to-add-feature/m-p/81803#M3996</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2018-11-14T18:21:46Z</dc:date>
    </item>
  </channel>
</rss>

