<?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: question- how to Create hosted feature layer VIEW with references to original layer OBJECTIDs? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/question-how-to-create-hosted-feature-layer-view/m-p/1013008#M37876</link>
    <description>&lt;P&gt;It is best to avoid OBJECTID as a key in joins for any datasets that persist for any length of time because this is a system maintained value that may be (and often is) modified by edits to the dataset, which includes format conversions and data copies that happen when publishing feature layers.&amp;nbsp; It is best practice to create non-objectid fields (which can be populated by copying the OBJECTID field to them) to use as join fields (keys) in your data model.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Dec 2020 19:01:29 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2020-12-30T19:01:29Z</dc:date>
    <item>
      <title>question- how to Create hosted feature layer VIEW with references to original layer OBJECTIDs?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/question-how-to-create-hosted-feature-layer-view/m-p/1013001#M37875</link>
      <description>&lt;P&gt;I have two hosted feature layers that I am combining in a join as a hosted feature layer view&amp;nbsp;Each table (table1 and table 2) have their own object IDs obviously&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AhnaMiller2_5-1609353524245.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3007i29EC9D03C9CD4D06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AhnaMiller2_5-1609353524245.png" alt="AhnaMiller2_5-1609353524245.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AhnaMiller2_2-1609353041785.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3002i344CD2D5E378A08D/image-size/large?v=v2&amp;amp;px=999" role="button" title="AhnaMiller2_2-1609353041785.png" alt="AhnaMiller2_2-1609353041785.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I create a join between these two tables (based on global id/ parent global id), the resulting table does not keep the objectIDs from table 1 and table 2, though it does create a brand new OBJECTID that is not in anyway associated to the objectIDs in the other tables. &lt;STRONG&gt;I am wondering if there is a way to display the OBJECTIDs from Table1 and table 2 in this view so that we can reference the original table records when looking at this view?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AhnaMiller2_4-1609353453346.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3006i4941A31EA07D7EC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="AhnaMiller2_4-1609353453346.png" alt="AhnaMiller2_4-1609353453346.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 18:45:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/question-how-to-create-hosted-feature-layer-view/m-p/1013001#M37875</guid>
      <dc:creator>AhnaMiller2</dc:creator>
      <dc:date>2020-12-30T18:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: question- how to Create hosted feature layer VIEW with references to original layer OBJECTIDs?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/question-how-to-create-hosted-feature-layer-view/m-p/1013008#M37876</link>
      <description>&lt;P&gt;It is best to avoid OBJECTID as a key in joins for any datasets that persist for any length of time because this is a system maintained value that may be (and often is) modified by edits to the dataset, which includes format conversions and data copies that happen when publishing feature layers.&amp;nbsp; It is best practice to create non-objectid fields (which can be populated by copying the OBJECTID field to them) to use as join fields (keys) in your data model.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 19:01:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/question-how-to-create-hosted-feature-layer-view/m-p/1013008#M37876</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2020-12-30T19:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: question- how to Create hosted feature layer VIEW with references to original layer OBJECTIDs?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/question-how-to-create-hosted-feature-layer-view/m-p/1013626#M37897</link>
      <description>&lt;P&gt;Thanks for your response! I am not exactly looking to join based on objectID. I've joined based on other fields. I am interested in simply displaying the OBJECTIDs of the original tables in the view&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 16:51:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/question-how-to-create-hosted-feature-layer-view/m-p/1013626#M37897</guid>
      <dc:creator>AhnaMiller2</dc:creator>
      <dc:date>2021-01-04T16:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: question- how to Create hosted feature layer VIEW with references to original layer OBJECTIDs?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/question-how-to-create-hosted-feature-layer-view/m-p/1013947#M37912</link>
      <description>&lt;P&gt;If you want to include the ObjectIDs, I would suggest &lt;A href="https://doc.arcgis.com/en/arcgis-online/manage-data/add-or-delete-fields.htm" target="_self"&gt;creating a new field&lt;/A&gt; (integer type) within each table and then &lt;A href="https://doc.arcgis.com/en/arcgis-online/manage-data/calculate-fields.htm" target="_self"&gt;calculating the field&lt;/A&gt; based on the ObjectID value. In the Calculate Field dialog, you would calculate the new field using&amp;nbsp;&lt;EM&gt;Table1ObjectID&lt;/EM&gt; = &lt;EM&gt;OBJECTID&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;BR /&gt;Amanda&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 15:03:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/question-how-to-create-hosted-feature-layer-view/m-p/1013947#M37912</guid>
      <dc:creator>AmandaRing</dc:creator>
      <dc:date>2021-01-05T15:03:02Z</dc:date>
    </item>
  </channel>
</rss>

