<?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: Feature Service Edits - Editing a table that has a join to pre-existing polygon features in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/feature-service-edits-editing-a-table-that-has-a/m-p/585445#M29324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like they are suggesting you create the join with SQL in the view. Here is an example of how I created a join with SQL between a table called customer and another table called orders:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- My Customer Table (spatial):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="customer.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/207377_customer.jpg" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- My Orders table (attributes):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="orders.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/207378_orders.jpg" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Right clicked the database in ArcCatalog and did create View and pasted the SQL query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="view_def.jpg" class="image-4 jive-image" src="https://community.esri.com/legacyfs/online/207380_view_def.jpg" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- My resulting spatial view contains the selected fields and the spatial point data from the Customer feature class and the chosen fields from the orders table called Joined_Customer:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sql_join.jpg" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/207379_sql_join.jpg" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then published this as a hosted service to ArcGIS online and I am able to edit the Joined_Customer layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="result.jpg" class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/207381_result.jpg" style="width: 620px; height: 275px;" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that help?&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;Katie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2016 00:30:45 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2016-06-10T00:30:45Z</dc:date>
    <item>
      <title>Feature Service Edits - Editing a table that has a join to pre-existing polygon features</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/feature-service-edits-editing-a-table-that-has-a/m-p/585444#M29323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;I am trying to make a feature service editable on ArcGIS Online.&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;It is a simple design, with one geospatial layer, that has a join to a project table.&lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes; color: #000000; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;I want to make the project table editable, although (even in ArcMAP), one must save out the two joined tables into one new feature class to make it editable.&lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes; color: #000000; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;I have been advised, that I would need to create a 'view' in the SDE database to make this work.&lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes; color: #000000; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;When creating a view, I am uncertain what to put into the 'definition' window.&lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes; color: #000000; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;I assume it would be something pertaining to the join in the two datasets, maybe the fields being joined, but I don't know.&lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes; color: #000000; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes; color: #000000; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Thanks- M-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 11:54:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/feature-service-edits-editing-a-table-that-has-a/m-p/585444#M29323</guid>
      <dc:creator>MarkEnglish</dc:creator>
      <dc:date>2016-06-08T11:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Service Edits - Editing a table that has a join to pre-existing polygon features</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/feature-service-edits-editing-a-table-that-has-a/m-p/585445#M29324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like they are suggesting you create the join with SQL in the view. Here is an example of how I created a join with SQL between a table called customer and another table called orders:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- My Customer Table (spatial):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="customer.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/207377_customer.jpg" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- My Orders table (attributes):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="orders.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/207378_orders.jpg" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Right clicked the database in ArcCatalog and did create View and pasted the SQL query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="view_def.jpg" class="image-4 jive-image" src="https://community.esri.com/legacyfs/online/207380_view_def.jpg" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- My resulting spatial view contains the selected fields and the spatial point data from the Customer feature class and the chosen fields from the orders table called Joined_Customer:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sql_join.jpg" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/207379_sql_join.jpg" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then published this as a hosted service to ArcGIS online and I am able to edit the Joined_Customer layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="result.jpg" class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/207381_result.jpg" style="width: 620px; height: 275px;" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that help?&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;Katie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 00:30:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/feature-service-edits-editing-a-table-that-has-a/m-p/585445#M29324</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-06-10T00:30:45Z</dc:date>
    </item>
  </channel>
</rss>

