<?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: field calculator allows non-domain values in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/1410985#M8994</link>
    <description>&lt;P&gt;Also seeing this related post about probably the same issue:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/prevent-non-domain-values-from-being-used-across/idi-p/1185679" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-ideas/prevent-non-domain-values-from-being-used-across/idi-p/1185679&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2024 15:22:33 GMT</pubDate>
    <dc:creator>JTessier</dc:creator>
    <dc:date>2024-04-17T15:22:33Z</dc:date>
    <item>
      <title>field calculator allows non-domain values</title>
      <link>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/839699#M4593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a polyline feature class (in our enterprise sql geodatabase) with a couple attributes that have domains specified. During the usual manual editing of features, it works like a charm - users can only select one of the defined values in the attribute's domain. But the Field Calculator allows any (string) value to be placed in the field, including string values that are neither a domain code nor domain description. I get the same problem in Python code using arcpy.UpdateCursor. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If somebody starts an edit session, enters invalid attribute values (i.e. non-domain) into ~200 features and then saves the edits and walks away - ArcGIS doesn't even blink an eye. I have to start up the editor again, select those ~200 features (in my case, across 5 feature classes) and then run "Validate Features" to have ArcMap bark at me about "Field xxx attribute value yyy is not a member of coded value domain zzz".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rather defeats the purpose of using a domained attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do others do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 23:24:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/839699#M4593</guid>
      <dc:creator>GeorgeRiner</dc:creator>
      <dc:date>2017-03-23T23:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: field calculator allows non-domain values</title>
      <link>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/839700#M4594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I did find something new thinking about your question. I believe there used to be a way to set the option to validate immediately when editing, but I doubt this worked with field calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, what I do now is summarize my domain-enforced fields periodically and/or do joins to an external domain table (exported from the domain and/or turn the show "display coded attributes..." button on and off in a table. This last method will make all the bad values pop out (because they won't change), assuming your domain description field has a longer/different text than your domain&amp;nbsp;code, which makes them easy to fix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new thing: &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/editing-attributes/applying-the-same-attribute-values-to-multiple-features-in-a-layer.htm"&gt;http://desktop.arcgis.com/en/arcmap/latest/manage-data/editing-attributes/applying-the-same-attribute-values-to-multiple-features-in-a-layer.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do quick global edits of domain-enforced fields using a drop down list without using field calculations by using the Editing Attributes window. Maybe you could train some of your editors on this method. I don't use the Attributes window much except for annotation because I don't like looking at records one at a time, so I might never have found this feature.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 17:17:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/839700#M4594</guid>
      <dc:creator>DanaNolan</dc:creator>
      <dc:date>2017-03-30T17:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: field calculator allows non-domain values</title>
      <link>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/1410978#M8993</link>
      <description>&lt;P&gt;This should not happen right&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/87861"&gt;@jill_es&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2641"&gt;@NanaDei&lt;/a&gt;&amp;nbsp;?&amp;nbsp; We have the same issue where domain values are set, but data editors can calculate values that do not match the values.&amp;nbsp; Is there a way to really prevent this?&amp;nbsp; We are using PostgreSQl in Azure as our SDE database.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 15:13:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/1410978#M8993</guid>
      <dc:creator>JTessier</dc:creator>
      <dc:date>2024-04-17T15:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: field calculator allows non-domain values</title>
      <link>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/1410985#M8994</link>
      <description>&lt;P&gt;Also seeing this related post about probably the same issue:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/prevent-non-domain-values-from-being-used-across/idi-p/1185679" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-ideas/prevent-non-domain-values-from-being-used-across/idi-p/1185679&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 15:22:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/1410985#M8994</guid>
      <dc:creator>JTessier</dc:creator>
      <dc:date>2024-04-17T15:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: field calculator allows non-domain values</title>
      <link>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/1411325#M8996</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17621"&gt;@JTessier&lt;/a&gt;, the goal can be achieved by authoring a constraint attribute rule as&amp;nbsp;mentioned in the link you shared.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 00:55:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/1411325#M8996</guid>
      <dc:creator>NanaDei</dc:creator>
      <dc:date>2024-04-18T00:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: field calculator allows non-domain values</title>
      <link>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/1411336#M8997</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2641"&gt;@NanaDei&lt;/a&gt;&amp;nbsp;I believe the original poster &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;&amp;nbsp;of the other suggested (and I agree) in his original post that custom attribute rules are not the preferred solution.&amp;nbsp; If we had to enforce domains with a custom attribute rule for each table in our 400+ layer data model, that would likely be unwieldy/unmanageable. When as both ideas state:&amp;nbsp; "&lt;SPAN&gt;I’m aware similar functionality can be achieved via customization using attribute rules or database triggers.&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;But we shouldn't need to write custom code to enforce a pick list.&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;Most enterprise systems have hard domains built in as a way of enforcing basic data integrity. For example, in IBM Maximo, the entire system honors domains by default — including back-end Python scripts. As a result, data integrity is rock solid, making data analysis easy."&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you see another mechanism Esri can pursue to force domain values be respected as one would expect, as requested by this poster as well?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 01:24:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/1411336#M8997</guid>
      <dc:creator>JTessier</dc:creator>
      <dc:date>2024-04-18T01:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: field calculator allows non-domain values</title>
      <link>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/1644699#M9689</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17621"&gt;@JTessier&lt;/a&gt;&amp;nbsp; &amp;nbsp;100% correct. This should be a checkbox option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "do it in python" to fill in basic feature gaps in Pro and the full stack takes all our time away from creating custom apps and doing high-end analysis. I spend a lot of time creating workarounds, fixing Esri bugs, or developing functionality for the backend with python and frontend with JS/CSS/HTML that should be in the product.&amp;nbsp; Less focus on AI, VR, 3D etc and more focus on basics.&amp;nbsp; We can do the fancy stuff ourselves. And that will differ customer to customer. It's the plumbing that's the same customer to customer.&amp;nbsp; I saw something about them putting effort into AI for their docs for example.&amp;nbsp; I already use Gemini for 90% of my lookups on Esri Docs, it's good enough. Gemini can't make domains work like they should, though.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 15:40:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/field-calculator-allows-non-domain-values/m-p/1644699#M9689</guid>
      <dc:creator>Kevin_MacLeod</dc:creator>
      <dc:date>2025-08-22T15:40:13Z</dc:date>
    </item>
  </channel>
</rss>

