<?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: Database views and relationship classes in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388227#M22258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldn't need to if I truncate and append.&amp;nbsp; In mine I'm overwriting the existing feature class which requires me to rebuild the relationship.&amp;nbsp; If i have to do it again I might go with truncate and append, but right now it works.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 May 2018 16:54:56 GMT</pubDate>
    <dc:creator>BradJones3</dc:creator>
    <dc:date>2018-05-17T16:54:56Z</dc:date>
    <item>
      <title>Database views and relationship classes</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388220#M22251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;We have &lt;STRONG&gt;ArcGIS Desktop 10.5 Standard&lt;/STRONG&gt; and &lt;STRONG&gt;ArcGIS Server 10.5 Standard&lt;/STRONG&gt; running on &lt;STRONG&gt;Windows Server 2012R2 Standard&lt;/STRONG&gt; with &lt;STRONG&gt;Microsoft SQL Server 2012 (SP1)&lt;/STRONG&gt; running on Windows servers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am trying to figure out if I can create &lt;STRONG&gt;a relationship class in our enterprise geodatabase between a feature class and a view or between a spatial view and a view&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I already have created a relationship class between a feature class (land parcels) and a table (landowners), however I would like to join some additional information stored in lookup tables to each table in the form of views and have another relationship class between those two views (spatial view for land parcels and non-spatial view for landowners). So, for now I have created a view for the landowners (which I have registered with the entrprise geodatabase) and have tried to create a M-N relationship class between the land parcels feature class and that landowners view, but I am getting the following error message: "Create Relationship Class: Failed to create the specified relationship class. Not supported on a view."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any help would be highly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Panos&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 09:42:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388220#M22251</guid>
      <dc:creator>Panagiotis</dc:creator>
      <dc:date>2017-08-03T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Database views and relationship classes</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388221#M22252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Registering the View with Geodatabase and then create the Relationship Class:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/registering-a-table-with-the-geodatabase.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/registering-a-table-with-the-geodatabase.htm"&gt;Register a table or view with the geodatabase—ArcGIS Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Will suggest creating a test view and experimenting with that first, before trying with the actual one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 09:49:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388221#M22252</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2017-08-03T09:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Database views and relationship classes</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388222#M22253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asrujit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried that already and I'm still getting the message below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I have created a test non-spatial view for the landowners using the Create Database View tool.&amp;nbsp;I have also registered that view with the enterprise gdb following the instructions at the link above. However, when I'm trying to create a M:N relationship class between the land parcels feature class and that view (they are both owned&amp;nbsp;by the same enterprise gdb) either by right clicking and New &amp;gt; Relationship Class or by using the Create Rewlationship Class tool, I'm getting the message below after&amp;nbsp;I click Finish/Ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Create Relationship Class error message" class="j-img-floatstart image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/365559_CreateRelationshipClassError.png" style="height: auto; float: left;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something I'm missing here? Is this do-able at all or should I think of a workaround?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Panos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 10:35:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388222#M22253</guid>
      <dc:creator>Panagiotis</dc:creator>
      <dc:date>2017-08-03T10:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Database views and relationship classes</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388223#M22254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Considering the above, I feel its not do-able then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #4d4d4d; background-color: #fefefe; font-size: 0.875rem; margin-top: 0em; margin-bottom: 1.71429em;"&gt;Registering a &lt;STRONG&gt;table&lt;/STRONG&gt; with the geodatabase allows the table to participate in geodatabase functionality, such as adding subtypes to it, defining domains for fields in the table, &lt;STRONG&gt;and placing the table in a relationship class&lt;/STRONG&gt;. If it is a spatial table (a feature class), you can also move it into a feature dataset so it can be used in topologies, networks, terrains, and other feature dataset constructs.&lt;/P&gt;&lt;P style="color: #4d4d4d; background-color: #fefefe; font-size: 0.875rem; margin-top: 0em; margin-bottom: 1.71429em;"&gt;Registering a &lt;STRONG&gt;view&lt;/STRONG&gt; with the geodatabase allows the view to be included in read-only feature services.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Also the link that I provided, mentions the above. So it seems that Views cannot participate in a Relationship Class in any scenario.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 13:39:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388223#M22254</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2017-08-03T13:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Database views and relationship classes</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388224#M22255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did NOT have success with this. It appears that relationship classes cannot work with a view - which I have to believe is some technical limitation.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/394167_table2relationshipclass_fail_on_dbview.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table to relationship class tool works great for creating a many-to-many relationship when you have/want to manage an intermediate table between non-view objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 23:00:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388224#M22255</guid>
      <dc:creator>MōnoSimeone</dc:creator>
      <dc:date>2018-01-19T23:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Database views and relationship classes</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388225#M22256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had this issue recently a 10.5 enterprise geodatabase and I called Esri tech support.&amp;nbsp; The analyst was perplexed that I have&amp;nbsp; existing relationships between spatial&amp;nbsp;views and tables in a 10.2 enterprise geodatabase.&amp;nbsp; The analyst said this should not be the case; relationship classes are not supported with a view.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it comes down to how the views are created.&amp;nbsp; We were still using 10.2 because we could create a spatial views with the old ArcSDE command line tools.&amp;nbsp; With 10.5 you could register the view with a geoprocessing tool.&amp;nbsp; But in 10.5 we can't use the relationships with the views.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The workaround was to use a python script (arcpy) every night to go from&amp;nbsp; spatial view --&amp;gt; to feature class then rebuild relationships.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 14:47:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388225#M22256</guid>
      <dc:creator>BradJones3</dc:creator>
      <dc:date>2018-05-17T14:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Database views and relationship classes</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388226#M22257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a nightly arcpy script that&amp;nbsp;truncates and appends data from 1 source location to a destination location where a relationship class exists, but I do not need to rebuild the relationship for the relates to function properly.&amp;nbsp; Just wondering if you really need to perform a nightly rebuild of the relationship after moving the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 15:33:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388226#M22257</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-05-17T15:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Database views and relationship classes</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388227#M22258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldn't need to if I truncate and append.&amp;nbsp; In mine I'm overwriting the existing feature class which requires me to rebuild the relationship.&amp;nbsp; If i have to do it again I might go with truncate and append, but right now it works.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 16:54:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388227#M22258</guid>
      <dc:creator>BradJones3</dc:creator>
      <dc:date>2018-05-17T16:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Database views and relationship classes</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388228#M22259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just my two cents. Views can be registered with the geodatabase in 10.5.1 but it won't allow you to create relationship classes or put it in a feature dataset. However 10.2.2 can still be used to create a relationship class on a registered view.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 18:50:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388228#M22259</guid>
      <dc:creator>AllanBenvin_yyc</dc:creator>
      <dc:date>2018-07-20T18:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Database views and relationship classes</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388229#M22260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just checking in to see if relationship classes are supported for non-spatial views. We are running ArcMap Enterprise/Desktop 10.5.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2019 14:04:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-relationship-classes/m-p/388229#M22260</guid>
      <dc:creator>AdamBakiera</dc:creator>
      <dc:date>2019-09-09T14:04:40Z</dc:date>
    </item>
  </channel>
</rss>

