<?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: How do I prevent duplicating code value in domain in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286859#M68908</link>
    <description>&lt;P&gt;I go to the bottom of the list of domains, add a new record&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PLadd_0-1683565646349.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70135i4FE031C3FE108F6B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PLadd_0-1683565646349.png" alt="PLadd_0-1683565646349.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and click the Save button.&amp;nbsp; The save takes.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PLadd_1-1683565790424.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70136i4C7FD055E7528DCF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PLadd_1-1683565790424.png" alt="PLadd_1-1683565790424.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then when I query the coded value in a feature class and the new domain value shows.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PLadd_2-1683565860280.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70137i18D19E6A13A0BE3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PLadd_2-1683565860280.png" alt="PLadd_2-1683565860280.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I close/open the domain table and "WALLINGFORD LINE" is gone and only "test" remains:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PLadd_3-1683565979697.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70138i82231FB312076295/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PLadd_3-1683565979697.png" alt="PLadd_3-1683565979697.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 May 2023 17:13:50 GMT</pubDate>
    <dc:creator>PLadd</dc:creator>
    <dc:date>2023-05-08T17:13:50Z</dc:date>
    <item>
      <title>How do I prevent duplicating code value in domain</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286807#M68899</link>
      <description>&lt;P&gt;I use coded domains for all of my streets (900+ records - don't judge me).&amp;nbsp; When I need to add a new street to the domain table, I want to use the next available number.&amp;nbsp; I know I can sort by code, scroll down to the end and add one to the last number for my new record.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My question is how do I avoid duplicating a number in the coded value field that is already being used?&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tested what might happen by adding a new record duplicating and existing coded value.&amp;nbsp; I was surprised I didn't get a popup warning me I was violating data integrity.&amp;nbsp; I believe what happens is that the original coded value gets deleted.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 15:57:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286807#M68899</guid>
      <dc:creator>PLadd</dc:creator>
      <dc:date>2023-05-08T15:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I prevent duplicating code value in domain</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286824#M68903</link>
      <description>&lt;P&gt;How are you trying to 'add' it?&amp;nbsp; Pro warns me and greys out the save button if I have duplicates.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_0-1683563629805.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70125i9D53F6F2628E36D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_0-1683563629805.png" alt="RhettZufelt_0-1683563629805.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 16:34:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286824#M68903</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-05-08T16:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I prevent duplicating code value in domain</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286859#M68908</link>
      <description>&lt;P&gt;I go to the bottom of the list of domains, add a new record&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PLadd_0-1683565646349.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70135i4FE031C3FE108F6B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PLadd_0-1683565646349.png" alt="PLadd_0-1683565646349.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and click the Save button.&amp;nbsp; The save takes.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PLadd_1-1683565790424.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70136i4C7FD055E7528DCF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PLadd_1-1683565790424.png" alt="PLadd_1-1683565790424.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then when I query the coded value in a feature class and the new domain value shows.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PLadd_2-1683565860280.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70137i18D19E6A13A0BE3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PLadd_2-1683565860280.png" alt="PLadd_2-1683565860280.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I close/open the domain table and "WALLINGFORD LINE" is gone and only "test" remains:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PLadd_3-1683565979697.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70138i82231FB312076295/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PLadd_3-1683565979697.png" alt="PLadd_3-1683565979697.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 17:13:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286859#M68908</guid>
      <dc:creator>PLadd</dc:creator>
      <dc:date>2023-05-08T17:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I prevent duplicating code value in domain</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286889#M68913</link>
      <description>&lt;P&gt;OIC, I learned decades ago to not use numeric Domains for text fields in ESRI (mainly for lookup issues across software/platforms, but now yet another reason), so when I saw street names (though you clearly mentioned the number), didn't think to test that.&lt;/P&gt;&lt;P&gt;However, using numeric fields I can reproduce your issue in both 2.9.3 and 3.1.1.....&lt;/P&gt;&lt;P&gt;If I set up a domain with Long/Short, add an existing domain to it and save, it WILL overwrite the current value with no error/warning at all.&lt;/P&gt;&lt;P&gt;Probably best to start a tech support call with ESRI on this so it can get in the que to eventually, maybe, think about fixing it.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 17:39:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286889#M68913</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-05-08T17:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I prevent duplicating code value in domain</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286895#M68914</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/15530"&gt;@RhettZufelt&lt;/a&gt;&amp;nbsp;I appreciate you taking the time to look into this and identifying the underlying issue.&amp;nbsp; I will start a tech support case and follow-up here if anything comes of it.&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 17:43:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286895#M68914</guid>
      <dc:creator>PLadd</dc:creator>
      <dc:date>2023-05-08T17:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I prevent duplicating code value in domain</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286903#M68915</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7136"&gt;@PLadd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Upon furthur testing, I see both the GP tool (Table to Domain) and arcpy.management.TableToDomain both work as expected, and will give an error if you try to append a duplicate domain value.&lt;/P&gt;&lt;P&gt;Might be a workaround in the meantime.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 17:53:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286903#M68915</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-05-08T17:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I prevent duplicating code value in domain</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286910#M68916</link>
      <description>&lt;P&gt;Yes, this is a good workaround.&amp;nbsp; I can setup a temp table to be used with Table to Domain and append it to the appropriate domain as needed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the error I got doing Table to Domain (append) that I would expect if I were simply editing an existing domain value.&amp;nbsp; Thanks again&amp;nbsp;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/15530" target="_blank"&gt;@RhettZufelt&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PLadd_0-1683568940573.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70152iFA46923A8D00ABC6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PLadd_0-1683568940573.png" alt="PLadd_0-1683568940573.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 18:03:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1286910#M68916</guid>
      <dc:creator>PLadd</dc:creator>
      <dc:date>2023-05-08T18:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I prevent duplicating code value in domain</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1290025#M69266</link>
      <description>&lt;P&gt;ESRI has escalated this to&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;#BUG-000158369&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 11:55:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-do-i-prevent-duplicating-code-value-in-domain/m-p/1290025#M69266</guid>
      <dc:creator>PLadd</dc:creator>
      <dc:date>2023-05-17T11:55:26Z</dc:date>
    </item>
  </channel>
</rss>

