<?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: How to create a Many to 1 relationship in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-to-create-a-many-to-1-relationship/m-p/1076039#M43419</link>
    <description>&lt;P&gt;What if you write it as a SQL view and then export the view to a standalone fgdb and use that to publish as you hosted feature service?&amp;nbsp; The update process may be a bit tedious but it is possible.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jul 2021 20:25:32 GMT</pubDate>
    <dc:creator>ABishop</dc:creator>
    <dc:date>2021-07-06T20:25:32Z</dc:date>
    <item>
      <title>How to create a Many to 1 relationship</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-create-a-many-to-1-relationship/m-p/1061409#M43344</link>
      <description>&lt;P&gt;I do not think it is possible to create a M:1 relationship but I saw this text in the help so wanted to check.&lt;/P&gt;&lt;P&gt;Pluralize the origin feature class name if it is a &lt;STRONG&gt;many-to-one&lt;/STRONG&gt; or many-to-many cardinality, and pluralize the destination feature class name if it is a one-to-many or many-to-many cardinality.&lt;/P&gt;&lt;P&gt;Is this a typo or is there a way to pull it off?&amp;nbsp; I tried just making my child the parent but then Field Maps will only let me create a child and not a parent at all since it assumes the parent is the 1 (plus there is no filter related types setting like in Collector).&amp;nbsp; So I need a way to be able to create multiple lines in Field Maps and then link it to one table record that is created in Survey123.&lt;/P&gt;&lt;P&gt;Why would I do this?&amp;nbsp; Well we have a legacy data set that is multipart.&amp;nbsp; You cannot create mutlipart in any app and all the other issues with multipart.&amp;nbsp; They did this since we often have a stream and minor offshoots that have the same answers for data collection.&amp;nbsp; If we go singlepart then I need to have 2-4 lines that connect to one table of answers.&amp;nbsp; So divorce the geometry from the data.&amp;nbsp; We would like to be able to create either one first.&amp;nbsp; So I could go out and answer my questions in 123 first or create my geometry in Field Maps first.&amp;nbsp; Field Maps forms cannot do what I need them to since they are still very basic.&amp;nbsp; 123 cannot create lines or polygons while offline without a TPK (with lots of contractors its not feasible) and the interface is not very good in 123.&amp;nbsp; Also sometimes we load in the lines for existing data which may happen before or after they go out.&lt;/P&gt;&lt;P&gt;A M:M is too much overhead for us.&lt;/P&gt;&lt;P&gt;I will pass keys from Field Maps to 123 using a URL and can pass keys from 123 to Field Maps via URL.&amp;nbsp; But this plan fails if I have the answers table as the parent since Field Map simply will not let me create a child with no parent.&amp;nbsp; This forces us to have a form before the geometry.&amp;nbsp; I could just skip the relationship until we move it to production but it is super handy to have Show Related during the field season.&lt;/P&gt;&lt;P&gt;Open to any ideas on this.&amp;nbsp; Each way I test there is some issue.&amp;nbsp; There is the new Hosted feature layer views but I do not think this will help me in Field Maps at all.&lt;/P&gt;&lt;P&gt;Note I can create a 1:M and then just create features to make it a M:M and it does not care.&amp;nbsp; I know that management will be crazy but if I leave off any messaging it may be ok.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 16:57:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-create-a-many-to-1-relationship/m-p/1061409#M43344</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-05-25T16:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Many to 1 relationship</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-create-a-many-to-1-relationship/m-p/1076039#M43419</link>
      <description>&lt;P&gt;What if you write it as a SQL view and then export the view to a standalone fgdb and use that to publish as you hosted feature service?&amp;nbsp; The update process may be a bit tedious but it is possible.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 20:25:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-create-a-many-to-1-relationship/m-p/1076039#M43419</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2021-07-06T20:25:32Z</dc:date>
    </item>
  </channel>
</rss>

