<?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: Error when creating Hosted View Layer between Polygon and Survey123 feature service in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/error-when-creating-hosted-view-layer-between/m-p/1325586#M54372</link>
    <description>&lt;P&gt;I have a similar situation, although when I try to create the joined view layer between a poly layer and a survey child table, I get "The view layer could not be created." Do you think that is a different issue, since the error message is different?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2023 19:24:51 GMT</pubDate>
    <dc:creator>SFMHeatherWitzens</dc:creator>
    <dc:date>2023-09-05T19:24:51Z</dc:date>
    <item>
      <title>Error when creating Hosted View Layer between Polygon and Survey123 feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/error-when-creating-hosted-view-layer-between/m-p/1306121#M53251</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I'm having an issue in AGOL when creating a &lt;A title="Joined Hosted Feature Layer View" href="https://doc.arcgis.com/en/arcgis-online/manage-data/create-hosted-views.htm#ESRI_SECTION1_FB2E757804014C88B5E5A6D9404A23E1" target="_blank" rel="noopener"&gt;&lt;FONT color="#00CCFF"&gt;&lt;STRONG&gt;Joined&lt;/STRONG&gt;&lt;/FONT&gt; Hosted Feature Layer View&lt;/A&gt; in which I get the following message:&lt;/P&gt;&lt;P&gt;"Unable to add feature service definition."&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DeanMoiler_MapAction_2-1688647278087.png" style="width: 320px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/74892iFBBF4E7B5CB5EF3F/image-dimensions/320x167?v=v2" width="320" height="167" role="button" title="DeanMoiler_MapAction_2-1688647278087.png" alt="DeanMoiler_MapAction_2-1688647278087.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The reason for the join is to connect the following two hosted Feature Layers:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;A Static Polygon Layer&amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;A Dynamic Survey123 survey response Layer&amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The join&amp;nbsp;will be a 1 : M with the Point data creating a new feature in the Polygon Feature Layer, potentially creating several duplicates of polygon features, as in this picture:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DeanMoiler_MapAction_5-1688648541692.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/74896iBF4716896D96A182/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DeanMoiler_MapAction_5-1688648541692.png" alt="DeanMoiler_MapAction_5-1688648541692.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Join Attribute is a String e.g. TY002357&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This seems to fit the intended remit in Esri documentation:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DeanMoiler_MapAction_4-1688647413690.png" style="width: 782px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/74893i71F4D0BED31E4082/image-dimensions/782x84?v=v2" width="782" height="84" role="button" title="DeanMoiler_MapAction_4-1688647413690.png" alt="DeanMoiler_MapAction_4-1688647413690.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Using this joined data, updated survey information can dynamically appear on a dashboard that references this data. For the intended display / filtering implemented in the dashboard, the polygon data is the recipient of the I : M :Joined Features.&lt;/P&gt;&lt;P&gt;The join process appears to work in the following 2 instances:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If I export a static copy of the Survey123 feature layer and reimport to a new hosted feature layer, using the static Survey123 data to join&lt;/LI&gt;&lt;LI&gt;If I publish the Survey123 using &lt;STRONG&gt;Web Designer&lt;/STRONG&gt;, rather than Survey123 &lt;STRONG&gt;Connect&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the workflow I'm working on, using &lt;STRONG&gt;Survey123 Connect&lt;/STRONG&gt; is necessary to enable the custom queries performing geocoding operations when the survey is submitted, so I was wondering if there were any&amp;nbsp; known gotchas/bugs/tricks for getting a &lt;STRONG&gt;Survey123 Connect Survey&lt;/STRONG&gt; to be part of a Joined Hosted Feature Layer View.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've not seen anything in the documentation that indicates that this is not supported, so hopefully there is a way to get this to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**** Update : 2023/07/09 : I have tested this further and the error with the join view only appears to occur if the survey contains a &lt;STRONG&gt;repeat&lt;/STRONG&gt; in the Survey123 Connect design. Without the repeat in the survey, it appears to join successfully, so is not a Survey123 Connect issue, as much as it appears to be a&amp;nbsp;&lt;STRONG&gt;repeat&lt;/STRONG&gt; issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 05:09:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/error-when-creating-hosted-view-layer-between/m-p/1306121#M53251</guid>
      <dc:creator>DeanMoiler_MapAction</dc:creator>
      <dc:date>2023-07-09T05:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating Hosted View Layer between Polygon and Survey123 feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/error-when-creating-hosted-view-layer-between/m-p/1307199#M53305</link>
      <description>&lt;P&gt;Survey123 is used to create the Hosted Feature Layer. Outside of that, you are looking at a join between two Hosted Feature Layers.&amp;nbsp;A repeat creates a 'related table'. It's a non-spatial, table sublayer in your Hosted Feature Layer created by Survey123.&lt;/P&gt;&lt;P&gt;In the past, users have had issues with Joins for a variety of reasons e.g.&lt;/P&gt;&lt;P&gt;support.esri.com/en-us/bug/join-feature-fails-with-a-feature-layer-from-survey123-bug-000117882&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-online-questions/join-feature-analysis-error-unable-to-add-feature/td-p/471150" target="_blank"&gt;https://community.esri.com/t5/arcgis-online-questions/join-feature-analysis-error-unable-to-add-feature/td-p/471150&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Where they had reserved words in the Survey123.&lt;/P&gt;&lt;P&gt;If you can share your XLSForm and the steps you are following to do the join, with configuration, it may help.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 11:00:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/error-when-creating-hosted-view-layer-between/m-p/1307199#M53305</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2023-07-11T11:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating Hosted View Layer between Polygon and Survey123 feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/error-when-creating-hosted-view-layer-between/m-p/1307401#M53319</link>
      <description>&lt;P&gt;Thanks for the comments&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/412943"&gt;@ChristopherCounsell&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The geonet post and bug do seem to have some similarities to the difficulties I'm having.&lt;/P&gt;&lt;P&gt;In the case of my survey, the related table within the repeat has a GeoPoint so presents as a point feature layer. Possibly a contributing factor to the issue?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DeanMoiler_MapAction_0-1689099477722.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/75201i0B5514507CD04520/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DeanMoiler_MapAction_0-1689099477722.png" alt="DeanMoiler_MapAction_0-1689099477722.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I tried joining to the primary survey layer (rather than the repeat sub layer) with the same error when joining.&lt;/P&gt;&lt;P&gt;To create the join I do the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;from the item page of the polygon layer the survey data will be joined to select&amp;nbsp;&lt;STRONG&gt;create view layer&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;--&amp;gt; joined view layer&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;select&amp;nbsp;&lt;STRONG&gt;next&lt;/STRONG&gt; to leave this as the target layer&lt;/LI&gt;&lt;LI&gt;Browse to the Survey123 feature layer and &lt;STRONG&gt;select&lt;/STRONG&gt; it&lt;/LI&gt;&lt;LI&gt;Join Configuration:&lt;OL&gt;&lt;LI&gt;Target Field : ADM3_PCode&lt;/LI&gt;&lt;LI&gt;Join Field : Address_activity_location_Adm3&lt;/LI&gt;&lt;LI&gt;Join Operation : 1:M&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Join Type : Inner Join&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I've sent you a reduced copy of the form that does not join successfully and I've raised a ticket with Esri Support to investigate. I will post any updates as this gets looked into further.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 18:38:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/error-when-creating-hosted-view-layer-between/m-p/1307401#M53319</guid>
      <dc:creator>DeanMoiler_MapAction</dc:creator>
      <dc:date>2023-07-11T18:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating Hosted View Layer between Polygon and Survey123 feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/error-when-creating-hosted-view-layer-between/m-p/1310944#M53507</link>
      <description>&lt;P&gt;Just as an update, this has now been logged as a BUG by Esri Support:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BUG-000160077: Not able to create a Joined view layer in ArcGIS Online with layers that have related tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 11:45:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/error-when-creating-hosted-view-layer-between/m-p/1310944#M53507</guid>
      <dc:creator>DeanMoiler_MapAction</dc:creator>
      <dc:date>2023-07-24T11:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating Hosted View Layer between Polygon and Survey123 feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/error-when-creating-hosted-view-layer-between/m-p/1325586#M54372</link>
      <description>&lt;P&gt;I have a similar situation, although when I try to create the joined view layer between a poly layer and a survey child table, I get "The view layer could not be created." Do you think that is a different issue, since the error message is different?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 19:24:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/error-when-creating-hosted-view-layer-between/m-p/1325586#M54372</guid>
      <dc:creator>SFMHeatherWitzens</dc:creator>
      <dc:date>2023-09-05T19:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating Hosted View Layer between Polygon and Survey123 feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/error-when-creating-hosted-view-layer-between/m-p/1325739#M54388</link>
      <description>&lt;P&gt;If you have a repeat in your survey data, it's likely the same. I've just recreated this issue and I also seem to get this error when trying with my data:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DeanMoiler_MapAction_0-1693981996704.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79919iE9CAB9B0724F8A78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DeanMoiler_MapAction_0-1693981996704.png" alt="DeanMoiler_MapAction_0-1693981996704.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 06:37:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/error-when-creating-hosted-view-layer-between/m-p/1325739#M54388</guid>
      <dc:creator>DeanMoiler_MapAction</dc:creator>
      <dc:date>2023-09-06T06:37:11Z</dc:date>
    </item>
  </channel>
</rss>

