<?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: Join failure - unable to add feature service definition in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240889#M11909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/9516"&gt;K. Rocks&lt;/A&gt;‌ -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response on this. It's possible that the Survey123-created Hosted Feature Layer may be preventing the Join from working, but we would really want to confirm this through an Esri Support case. Your test certainly indicates that this might be happening. The issue is described more &lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExNzg4Mg=="&gt;here&lt;/A&gt;;&amp;nbsp;some alternative workflows are described briefly as well. It's possible that these might help with a solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've sent you a direct message on GeoNet with next steps for getting a Support case created to look into this further.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Sep 2019 20:30:59 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-09-04T20:30:59Z</dc:date>
    <item>
      <title>Join failure - unable to add feature service definition</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240886#M11906</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;I'm trying to make a (dynamic) feature layer from join analysis in AGOL. I own both feature layers and the join is based on attributes. However, I keep getting an ""Unable to add feature service definition" error, with a corrupted layer being created as a result.&lt;BR /&gt;One of the feature layers is a view. Is that a problem? I have attempted the join using the original feature layer that the view is based on and still get the error.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Layer 1 has the following fields: Username, Port, County, Email, Vessel, SurveyYear, Initials.&lt;BR /&gt;Layer 2 (the view) has a lot more fields, which include: start, end, username, email, deviceid, version, datesSurveyStart, datesSurveyEnd, surveyID, datesTrip, datesTripDay, dateTrip. The other field names are specific to the project and are clearly not reserved words.&lt;/P&gt;&lt;P&gt;Are there any reserved words that jump out from those lists as causing the problem?&lt;BR /&gt;The intention is for the one-to-many join to be based on Layer 1's 'Username' and Layer 2's hidden 'Creator' attributes.&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2019 17:08:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240886#M11906</guid>
      <dc:creator>K_Rocks</dc:creator>
      <dc:date>2019-09-03T17:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Join failure - unable to add feature service definition</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240887#M11907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/9516"&gt;K. Rocks&lt;/A&gt;‌ -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like Layer 2 is associated with a Survey123 survey. Was this layer created from Survey123 Connect and by chance is there a select one question in the survey?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also &lt;STRONG&gt;start&lt;/STRONG&gt; and &lt;STRONG&gt;end&amp;nbsp;&lt;/STRONG&gt;are reserved database keywords - can you publish a test version of the Feature Service&amp;nbsp;without those fields and try the join again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you create a case with Esri Support they can look into your specific services further to figure out what is going on:&amp;nbsp;&lt;A href="https://support.esri.com/en/contact-tech-support"&gt;https://support.esri.com/en/contact-tech-support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2019 21:28:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240887#M11907</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-03T21:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Join failure - unable to add feature service definition</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240888#M11908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Peter. Yes, Layer 2 is a view based on a layer generated from a Survey123 form published through Connect. There are several select_one questions and repeats. Would that prevent a join working?&lt;/P&gt;&lt;P&gt;I downloaded the hosted feature layer view as a geodatabase, replaced the &lt;STRONG&gt;start&lt;/STRONG&gt; and &lt;STRONG&gt;end&lt;/STRONG&gt; fields, uploaded the altered geodatabase, published a feature service and was able to join it to Layer 1 without a problem. Given that there are repeats, and therefore related layers/tables within the feature service, there is a reluctance to change the survey form too much to the extent that it would create a new feature layer, as we would then have to merge the data already collected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2019 16:44:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240888#M11908</guid>
      <dc:creator>K_Rocks</dc:creator>
      <dc:date>2019-09-04T16:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Join failure - unable to add feature service definition</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240889#M11909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/9516"&gt;K. Rocks&lt;/A&gt;‌ -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response on this. It's possible that the Survey123-created Hosted Feature Layer may be preventing the Join from working, but we would really want to confirm this through an Esri Support case. Your test certainly indicates that this might be happening. The issue is described more &lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExNzg4Mg=="&gt;here&lt;/A&gt;;&amp;nbsp;some alternative workflows are described briefly as well. It's possible that these might help with a solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've sent you a direct message on GeoNet with next steps for getting a Support case created to look into this further.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2019 20:30:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240889#M11909</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-04T20:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Join failure - unable to add feature service definition</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240890#M11910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Peter.&lt;/P&gt;&lt;P&gt;The &lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExNzg4Mg=="&gt;BUG-000117882&lt;/A&gt; that you've linked to refers to the error being thrown when 'Use current map extent' is selected. I had actually unselected that option and chose 'Create results as hosted feature layer view' (as the alternative solution suggests) in the attempted joins, so I can't blame that bug. My understanding was that creating a view was required anyway in order to have a live/dynamic join layer that updates as the Survey123 form adds to the underlying feature service.&lt;/P&gt;&lt;P&gt;We are going republish the form (and therefore create a new feature layer) with the start and end field names replaced in order to see if it will allow a join now. I'd rather not waste someone's time raising a support case if that solves the issue for us anyway. However, if it doesn't, might there be another general reason that feature layers deriving directly from Survey123 forms fail to join?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2019 13:33:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240890#M11910</guid>
      <dc:creator>K_Rocks</dc:creator>
      <dc:date>2019-09-05T13:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Join failure - unable to add feature service definition</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240891#M11911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the update on the workflow - it does seem that in this case the reserved keywords might have been causing the issue. Let me know how that goes. I don't know of any general reason why Hosted Feature Layers created from Survey123 forms would fail to join other than the issue linked above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2019 14:04:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240891#M11911</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-05T14:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Join failure - unable to add feature service definition</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240892#M11912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The join works fine now, Peter, and updates as required, so it was indeed the reserved words.&lt;/P&gt;&lt;P&gt;Thanks for your help in pointing us in the right direction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2019 14:48:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240892#M11912</guid>
      <dc:creator>K_Rocks</dc:creator>
      <dc:date>2019-09-06T14:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Join failure - unable to add feature service definition</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240893#M11913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great to hear! Happy to help out.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Sep 2019 00:08:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/join-failure-unable-to-add-feature-service/m-p/240893#M11913</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-07T00:08:11Z</dc:date>
    </item>
  </channel>
</rss>

