<?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>idea Attribute Rules should be enforced at the Database level in Attribute Rules Ideas</title>
    <link>https://community.esri.com/t5/attribute-rules-ideas/attribute-rules-should-be-enforced-at-the-database/idi-p/932213</link>
    <description>&lt;P&gt;Currently, attribute rules are only enforced and applied if edits are made through ArcGIS Pro or a Branch Versioned Feature Service. This is okay, but since Attribute Rules are essentially a method for implementing database triggers, they should be enforced at the Database level. How the data is edited on a Feature Class in a File or Enterprise Geodatabase should be (mostly) irrelevant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I want to update it with a SQL script, that shouldn't be a problem.&lt;/P&gt;&lt;P&gt;If I want to update it with a Python script, that shouldn't be a problem.&lt;/P&gt;&lt;P&gt;If I want to update it in ArcMap, ArcGlobe, ArcScene, that shouldn't be a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bake the logic directly into the File and Enterprise Geodatabase so that I can update the data however I want and not have to worry about what client my customer is using to edit my data with.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Sep 2022 01:22:36 GMT</pubDate>
    <dc:creator>JohnMDye</dc:creator>
    <dc:date>2022-09-02T01:22:36Z</dc:date>
    <item>
      <title>Attribute Rules should be enforced at the Database level</title>
      <link>https://community.esri.com/t5/attribute-rules-ideas/attribute-rules-should-be-enforced-at-the-database/idi-p/932213</link>
      <description>&lt;P&gt;Currently, attribute rules are only enforced and applied if edits are made through ArcGIS Pro or a Branch Versioned Feature Service. This is okay, but since Attribute Rules are essentially a method for implementing database triggers, they should be enforced at the Database level. How the data is edited on a Feature Class in a File or Enterprise Geodatabase should be (mostly) irrelevant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I want to update it with a SQL script, that shouldn't be a problem.&lt;/P&gt;&lt;P&gt;If I want to update it with a Python script, that shouldn't be a problem.&lt;/P&gt;&lt;P&gt;If I want to update it in ArcMap, ArcGlobe, ArcScene, that shouldn't be a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bake the logic directly into the File and Enterprise Geodatabase so that I can update the data however I want and not have to worry about what client my customer is using to edit my data with.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 01:22:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-ideas/attribute-rules-should-be-enforced-at-the-database/idi-p/932213</guid>
      <dc:creator>JohnMDye</dc:creator>
      <dc:date>2022-09-02T01:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules should be enforced at the Database level</title>
      <link>https://community.esri.com/t5/attribute-rules-ideas/attribute-rules-should-be-enforced-at-the-database/idc-p/1208978#M99</link>
      <description>&lt;P&gt;I might be misinterpreting what you're saying but my understanding is that attribute rules are indeed baked into the geodatabase:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/an-overview-of-attribute-rules.htm#ESRI_SECTION1_A33473E5BD1C4CC696B161940BCAEE64" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/an-overview-of-attribute-rules.htm#ESRI_SECTION1_A33473E5BD1C4CC696B161940BCAEE64&lt;/A&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;Attribute rules are created on an input feature class or table."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"...attribute rules are established on datasets in the geodatabase..."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Once attribute rules are added to a dataset, it is incompatible with&amp;nbsp;&lt;SPAN class=""&gt;ArcMap&lt;/SPAN&gt;&amp;nbsp;or&amp;nbsp;&lt;SPAN class=""&gt;ArcGIS Pro&lt;/SPAN&gt;&amp;nbsp;2.0 and earlier."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, only compliant clients can even edit the rules-based &lt;STRONG&gt;geo&lt;/STRONG&gt;database objects, and if they do they are required to follow those rules regardless of how they did it (GP tool, python, arcade, scripting/model, version edit, etc).&amp;nbsp; This is pretty much exactly what the community asked for, and is a relatively simple and elegant solution.&amp;nbsp; (Needs improvements of course, but that is happening)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you edit the underlying database by using native tools bypassing the Esri stack or build your own triggers/database scripting for custom functionality?&amp;nbsp; Sure... but do you really want to go back to the good-bad old days of ArcView 8/ArcInfo?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I believe when this has been mooted in the past Esri didn't want to get in to modifying/supporting changes to propriety&amp;nbsp;RDBMS' and they have no no way of knowing which one you use; a massive cost on their business to essentially change multiple companies products.&amp;nbsp; The answer was...&amp;nbsp; Attribute Rules on the Geodatabase extensible through web services.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As long as you're in the Esri ecosphere I don't understand the problem, unless you're dealing with non-Esri clients who are directly editing the database, or you're importing data directly without going through an edit/rules/reviewer QA process.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 01:56:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-ideas/attribute-rules-should-be-enforced-at-the-database/idc-p/1208978#M99</guid>
      <dc:creator>AndrewQuee</dc:creator>
      <dc:date>2022-09-02T01:56:57Z</dc:date>
    </item>
  </channel>
</rss>

