<?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 Creating new relationship classes with data from existing feature layers in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/creating-new-relationship-classes-with-data-from/m-p/1022693#M38298</link>
    <description>&lt;P&gt;Hi, I manage a multi-user project which tracks management practices performed on private lands. We started from scratch, not knowing how this would work in AGOL or Collector but now have 9 hosted feature layers containing data which have been working pretty well. Recently I received a request to add a field for contract year because some of the parcels will be managed cyclically, i.e. burned every 2 years. But to account for multiple years of managing one parcel area (portion of a landowner's property), I know no other way to accomplish this except through related tables with a one (area) to many (recurring burns/management practices) cardinality. QUESTION: What is the best approach? Do I separate each feature layer's geometry and attributes manually and then relate them? So far I have not been able to get this to function properly.&amp;nbsp; Each parcel area record has a global id but how will this be preserved in the relationship class? The GUID field, required for Collector as described in&amp;nbsp;&lt;A title="How to Set Up Related Tables for Use in Collector" href="https://support.esri.com/en/technical-article/000015422" target="_blank" rel="noopener"&gt;How to Set Up Related Tables for Collector&lt;/A&gt;&amp;nbsp;needs to remain blank to successfully create the relate. I also have lists created in the management types to further define the attributes. I have provided a simple sketch of where I am and where I THINK I am headed but I could certainly use some advice before transitioning to Field Maps. Thank you. Kristal&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sketch.JPG" style="width: 826px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5142iA0840AA0E77C1BC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sketch.JPG" alt="Sketch.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2021 19:19:12 GMT</pubDate>
    <dc:creator>KristalWalsh</dc:creator>
    <dc:date>2021-02-02T19:19:12Z</dc:date>
    <item>
      <title>Creating new relationship classes with data from existing feature layers</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-new-relationship-classes-with-data-from/m-p/1022693#M38298</link>
      <description>&lt;P&gt;Hi, I manage a multi-user project which tracks management practices performed on private lands. We started from scratch, not knowing how this would work in AGOL or Collector but now have 9 hosted feature layers containing data which have been working pretty well. Recently I received a request to add a field for contract year because some of the parcels will be managed cyclically, i.e. burned every 2 years. But to account for multiple years of managing one parcel area (portion of a landowner's property), I know no other way to accomplish this except through related tables with a one (area) to many (recurring burns/management practices) cardinality. QUESTION: What is the best approach? Do I separate each feature layer's geometry and attributes manually and then relate them? So far I have not been able to get this to function properly.&amp;nbsp; Each parcel area record has a global id but how will this be preserved in the relationship class? The GUID field, required for Collector as described in&amp;nbsp;&lt;A title="How to Set Up Related Tables for Use in Collector" href="https://support.esri.com/en/technical-article/000015422" target="_blank" rel="noopener"&gt;How to Set Up Related Tables for Collector&lt;/A&gt;&amp;nbsp;needs to remain blank to successfully create the relate. I also have lists created in the management types to further define the attributes. I have provided a simple sketch of where I am and where I THINK I am headed but I could certainly use some advice before transitioning to Field Maps. Thank you. Kristal&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sketch.JPG" style="width: 826px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5142iA0840AA0E77C1BC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sketch.JPG" alt="Sketch.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 19:19:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-new-relationship-classes-with-data-from/m-p/1022693#M38298</guid>
      <dc:creator>KristalWalsh</dc:creator>
      <dc:date>2021-02-02T19:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new relationship classes with data from existing feature layers</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-new-relationship-classes-with-data-from/m-p/1023102#M38315</link>
      <description>&lt;P&gt;I personally never use GlobalIDs for relationships - see my reasons here.&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-collector-questions/related-tables-for-offline-data-collection/td-p/92900" target="_blank"&gt;https://community.esri.com/t5/arcgis-collector-questions/related-tables-for-offline-data-collection/td-p/92900&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am honestly not sure what leaving it empty means.&amp;nbsp; You would need the keys on both sides for anything to work.&amp;nbsp; I think this says you must fill them in.&amp;nbsp; "&lt;SPAN&gt;hereas, GUID fields are left blank. The onus is on the user to maintain these fields."&amp;nbsp; When you do create a related item Collector will add the key for you.&amp;nbsp; But old data you would have to add it yourself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I do use related tables a lot in Collector.&amp;nbsp; See here for more details.&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/mapping-with-survey123-within-a-polygon-or-admin-unit/td-p/836112" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/mapping-with-survey123-within-a-polygon-or-admin-unit/td-p/836112&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 18:22:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-new-relationship-classes-with-data-from/m-p/1023102#M38315</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-02-03T18:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new relationship classes with data from existing feature layers</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-new-relationship-classes-with-data-from/m-p/1023164#M38319</link>
      <description>&lt;P&gt;Thanks for your reply @DougBrowning.&amp;nbsp; I read through the first set of referenced posts you provided and for all the searching I’ve done in the last few days, I had not found these threads, so much appreciated. These seem to directly contradict the most recent one referenced in my post about using Global IDs. So now I know what NOT to do, and I know I need a unique id but how to begin again? Data is still being collected in this project as it functions currently with Collector.&amp;nbsp; I saw reference by &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/413580"&gt;@bsanders69&lt;/a&gt;&amp;nbsp;on creating&lt;SPAN&gt;&amp;nbsp;a rule on a uid and using a SQL sequence, so that this is an auto-incrementing field. I will look for more information on how to create this rule but first I need to separate all the feature layer geometries from their tables.&amp;nbsp; This seems overwhelming, any advice on how to approach this? Is there a method that might be faster than exporting each layer, deleting fields, creating new feature classes and tables, manually entering uids, etc.? Thank you for any additional thoughts. Kristal&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 20:08:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-new-relationship-classes-with-data-from/m-p/1023164#M38319</guid>
      <dc:creator>KristalWalsh</dc:creator>
      <dc:date>2021-02-03T20:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new relationship classes with data from existing feature layers</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-new-relationship-classes-with-data-from/m-p/1023212#M38321</link>
      <description>&lt;P&gt;This is never easy to pull off.&amp;nbsp; In general I prefer the build a new house next to the old one approach.&amp;nbsp; Then when its done you shut the old down for a day, move it all over, point everyone to the new spot.&amp;nbsp; Good luck!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 21:34:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-new-relationship-classes-with-data-from/m-p/1023212#M38321</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-02-03T21:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new relationship classes with data from existing feature layers</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/creating-new-relationship-classes-with-data-from/m-p/1023217#M38322</link>
      <description>&lt;P&gt;I was afraid of that. I will reluctantly accept your solution.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&amp;nbsp;I may need to come back for help once I get these set up. Thank you again. Kristal&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 21:54:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/creating-new-relationship-classes-with-data-from/m-p/1023217#M38322</guid>
      <dc:creator>KristalWalsh</dc:creator>
      <dc:date>2021-02-03T21:54:29Z</dc:date>
    </item>
  </channel>
</rss>

