<?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: Relationship classes in Feature Service in Publishing and Managing Services Questions</title>
    <link>https://community.esri.com/t5/publishing-and-managing-services-questions/relationship-classes-in-feature-service/m-p/1042303#M364</link>
    <description>&lt;P&gt;Hejhej Joe,&lt;/P&gt;&lt;P&gt;thanks for your "out of the box"-answer. We definitely are looking forward for this. However, currently we are not yet using ArcGIS Pro and we have thousands of lines of SQL-code used in triggers, that we can't immediately transfer to attribute rules. I even doubt, that all features are possible with attribute rules.&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;- Florian&lt;/P&gt;</description>
    <pubDate>Wed, 31 Mar 2021 08:52:25 GMT</pubDate>
    <dc:creator>FlorianSteiner</dc:creator>
    <dc:date>2021-03-31T08:52:25Z</dc:date>
    <item>
      <title>Relationship classes in Feature Service</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/relationship-classes-in-feature-service/m-p/1041999#M362</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;we are having some issues, possibly related to relationship classes. We use Feature Services to edit Features using WebGIS (JS API). There is one Service containing a layer based on a feature class (point features), which is in a relationship class with another feature class (polygon). It is a composite 1-M relationship, that moves the polygons, whenever the point is moved. Important to mention: The feature class is located in an enterprise GDB, based on SQL Server. We also use SQL-Triggers to automate some tasks.&lt;/P&gt;&lt;P&gt;That normally works fine. However, under some circumstances, the edit fails (service-response: error 500, "&lt;SPAN&gt;Unable to perform applyEdits operation."&lt;/SPAN&gt;). This seems to be the case if the SQL-Trigger and the relationship class both try to edit the related features.&lt;/P&gt;&lt;P&gt;BUT: If we do the same edit in ArcMap using a direct GDB-Connection, there is no problem. There is also no problem if the SQL-Trigger is disabled. Only the combination triggered via a Feature Service seems to produce some kind of conflict.&lt;/P&gt;&lt;P&gt;I read (&lt;A href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/prepare-data-for-feature-services.htm" target="_blank"&gt;Prepare data to publish a feature service—ArcGIS Server | Documentation for ArcGIS Enterprise&lt;/A&gt;) that the related layer has to be part of the service. However, it only says "table", not "feature class". I still tried this and, surprise, it didn't help.&lt;/P&gt;&lt;P&gt;Any ideas on that?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 16:34:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/relationship-classes-in-feature-service/m-p/1041999#M362</guid>
      <dc:creator>FlorianSteiner</dc:creator>
      <dc:date>2021-03-30T16:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship classes in Feature Service</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/relationship-classes-in-feature-service/m-p/1042006#M363</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;We also use SQL-Triggers to automate some tasks&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I wonder if the argument can be made to abandon your triggers in favor of attribute rules. In a former life I used SQL triggers in a SqlServer backend SDE (now enterprise) and I was under the impression then that triggers were not a supported feature for ArcGIS.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 17:00:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/relationship-classes-in-feature-service/m-p/1042006#M363</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-03-30T17:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship classes in Feature Service</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/relationship-classes-in-feature-service/m-p/1042303#M364</link>
      <description>&lt;P&gt;Hejhej Joe,&lt;/P&gt;&lt;P&gt;thanks for your "out of the box"-answer. We definitely are looking forward for this. However, currently we are not yet using ArcGIS Pro and we have thousands of lines of SQL-code used in triggers, that we can't immediately transfer to attribute rules. I even doubt, that all features are possible with attribute rules.&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;- Florian&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 08:52:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/relationship-classes-in-feature-service/m-p/1042303#M364</guid>
      <dc:creator>FlorianSteiner</dc:creator>
      <dc:date>2021-03-31T08:52:25Z</dc:date>
    </item>
  </channel>
</rss>

