<?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: Deleting a field where subtype was removed in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1393356#M45013</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/291958"&gt;@ScottFortman1&lt;/a&gt;&amp;nbsp;- I am adding this comment so others can understand.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ArcCatalog 10.8.2&lt;/STRONG&gt; cannot delete the&amp;nbsp;&lt;STRONG&gt;*Subtype&lt;/STRONG&gt; field. But if we go to the "&lt;STRONG&gt;Subtypes&lt;/STRONG&gt;" tab and set to &lt;STRONG&gt;&amp;lt;None&amp;gt;&lt;/STRONG&gt; then under the "&lt;STRONG&gt;Fields&lt;/STRONG&gt;" tab will be able to delete the &lt;STRONG&gt;Subtype&lt;/STRONG&gt; field.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_0-1709923646665.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97428i5AFB9CB6AB05730B/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_0-1709923646665.png" alt="MarceloMarques_0-1709923646665.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_1-1709923709172.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97429iA6650830DF9D8ADF/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_1-1709923709172.png" alt="MarceloMarques_1-1709923709172.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Workaround&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_2-1709923925908.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97430i4C5F846A7F90718C/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_2-1709923925908.png" alt="MarceloMarques_2-1709923925908.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_3-1709923992765.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97431i2BA9A2A2E17577F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_3-1709923992765.png" alt="MarceloMarques_3-1709923992765.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2024 19:15:37 GMT</pubDate>
    <dc:creator>MarceloMarques</dc:creator>
    <dc:date>2024-03-08T19:15:37Z</dc:date>
    <item>
      <title>Deleting a field where subtype was removed</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1392885#M44999</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;so we want to remove a subtype from a field and create a new field with a domain that has the same values we use in the subtyped field.&amp;nbsp; I used the remove subtype geoprocessing tool,it seemed to worked fine.&amp;nbsp; I create a new field and calculated the values from the old subtyped field over, all is well.&amp;nbsp; I am trying to delete the old field now and am unable to do it.&amp;nbsp; Does anybody know how to do it, if even possible?&amp;nbsp; Thanks for any advice!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 22:02:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1392885#M44999</guid>
      <dc:creator>ScottFortman1</dc:creator>
      <dc:date>2024-03-07T22:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a field where subtype was removed</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1392898#M45000</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/291958"&gt;@ScottFortman1&lt;/a&gt;&amp;nbsp;- If you are using an ArcSDE Enterprise Geodatabase then you can be locking yourself, try to close ArcGIS Pro / ArcCatalog, then connect again with the data owner user, do not click any other geodatabase connection file, and try again to make the schema change, you also need to ask all other users to disconnect and stop all ArcGIS Server Services that use the ArcSDE Enterprise Geodatabase that you are trying to make schema changes.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 22:25:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1392898#M45000</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2024-03-07T22:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a field where subtype was removed</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1392928#M45001</link>
      <description>&lt;P&gt;Thanks for replying Marcelo.&amp;nbsp; Yes I did try that.&amp;nbsp; Whenever I make schema change on our SDE Enterprise databases, we shut down all services, connect as database owner, check connections and locks, then make our changes.&amp;nbsp; After I removed the subtype from the field, I did this again.&amp;nbsp; I also tried running our nightly jobs, which compresses our databases.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 23:06:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1392928#M45001</guid>
      <dc:creator>ScottFortman1</dc:creator>
      <dc:date>2024-03-07T23:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a field where subtype was removed</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1392930#M45002</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/291958"&gt;@ScottFortman1&lt;/a&gt;&amp;nbsp;- ArcGIS Pro will not let you delete the &lt;STRONG&gt;*Subtype&lt;/STRONG&gt; field, that is expected behavior.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_0-1709852655051.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97305i52AD321C8ED3B7B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarceloMarques_0-1709852655051.png" alt="MarceloMarques_0-1709852655051.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;You will need to create a new empty Featureclass with the new fields and domains that you want then you will reload the data using the old Featureclass.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 23:08:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1392930#M45002</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2024-03-07T23:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a field where subtype was removed</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1392931#M45003</link>
      <description>&lt;P&gt;Ok thanks, so to be clear, this is true even after you remove the subtype?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 23:10:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1392931#M45003</guid>
      <dc:creator>ScottFortman1</dc:creator>
      <dc:date>2024-03-07T23:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a field where subtype was removed</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1392934#M45004</link>
      <description>&lt;P&gt;yes, you cannot delete the &lt;STRONG&gt;*Subtype&lt;/STRONG&gt; field if the Featureclass was created with one from the beginning, this because the &lt;STRONG&gt;*Subtype&lt;/STRONG&gt; field is how the data gets organized, hence the only way around this is to create a new Featureclass without the &lt;STRONG&gt;*Subtype&lt;/STRONG&gt; field and reload the data.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 23:33:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1392934#M45004</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2024-03-07T23:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a field where subtype was removed</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1392960#M45005</link>
      <description>&lt;P&gt;Ok thanks.&amp;nbsp; Just to try it, I did try this in ArcCatalog (10.8.1) and was able to delete the field there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 00:14:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1392960#M45005</guid>
      <dc:creator>ScottFortman1</dc:creator>
      <dc:date>2024-03-08T00:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a field where subtype was removed</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1393356#M45013</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/291958"&gt;@ScottFortman1&lt;/a&gt;&amp;nbsp;- I am adding this comment so others can understand.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ArcCatalog 10.8.2&lt;/STRONG&gt; cannot delete the&amp;nbsp;&lt;STRONG&gt;*Subtype&lt;/STRONG&gt; field. But if we go to the "&lt;STRONG&gt;Subtypes&lt;/STRONG&gt;" tab and set to &lt;STRONG&gt;&amp;lt;None&amp;gt;&lt;/STRONG&gt; then under the "&lt;STRONG&gt;Fields&lt;/STRONG&gt;" tab will be able to delete the &lt;STRONG&gt;Subtype&lt;/STRONG&gt; field.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_0-1709923646665.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97428i5AFB9CB6AB05730B/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_0-1709923646665.png" alt="MarceloMarques_0-1709923646665.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_1-1709923709172.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97429iA6650830DF9D8ADF/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_1-1709923709172.png" alt="MarceloMarques_1-1709923709172.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Workaround&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_2-1709923925908.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97430i4C5F846A7F90718C/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_2-1709923925908.png" alt="MarceloMarques_2-1709923925908.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_3-1709923992765.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97431i2BA9A2A2E17577F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_3-1709923992765.png" alt="MarceloMarques_3-1709923992765.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 19:15:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1393356#M45013</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2024-03-08T19:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a field where subtype was removed</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1393366#M45014</link>
      <description>&lt;P&gt;Will be a sad day when good old ArcCatalog goes away.....&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 19:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1393366#M45014</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2024-03-08T19:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a field where subtype was removed</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1393370#M45015</link>
      <description>&lt;P&gt;Yes, that is exactly what I did.&amp;nbsp; It would be great if there was a way do that in Pro.&amp;nbsp; Thanks for clarifying the solution for others who view this.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 19:07:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1393370#M45015</guid>
      <dc:creator>ScottFortman1</dc:creator>
      <dc:date>2024-03-08T19:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a field where subtype was removed</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1393381#M45016</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/291958"&gt;@ScottFortman1&lt;/a&gt;&amp;nbsp;- here is how to delete the &lt;STRONG&gt;Subtype&lt;/STRONG&gt; field in ArcGIS Pro.&lt;BR /&gt;These steps should have worked for you in Pro as well.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ArcGIS Pro 3.2.2&lt;/STRONG&gt; &amp;gt; Data Design &amp;gt; Fields&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_11-1709925157994.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97443iC56FE7A8543B4B95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarceloMarques_11-1709925157994.png" alt="MarceloMarques_11-1709925157994.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;"Delete" is disabled for the &lt;STRONG&gt;*Subtype&lt;/STRONG&gt; field.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Workaround&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ArcGIS Pro 3.2.2&lt;/STRONG&gt; &amp;gt; Data Design &amp;gt; Subtypes&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_4-1709924404606.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97434i9F0115EBAD8D1A22/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_4-1709924404606.png" alt="MarceloMarques_4-1709924404606.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Subtypes &amp;gt; Create/Manage&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Subtype Field: &lt;STRONG&gt;&amp;lt;Clear all subtypes...&amp;gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Click OK&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_5-1709924474581.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97435i075CB25D0D0688AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_5-1709924474581.png" alt="MarceloMarques_5-1709924474581.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Click &lt;STRONG&gt;Save&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_6-1709924827484.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97436iC59D0F2D093D4013/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarceloMarques_6-1709924827484.png" alt="MarceloMarques_6-1709924827484.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Close the Subtypes tab&lt;/P&gt;&lt;P&gt;Open the Fields tab&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_7-1709924883743.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97438i12E74DDF6218C352/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_7-1709924883743.png" alt="MarceloMarques_7-1709924883743.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;select the &lt;STRONG&gt;Subtype&lt;/STRONG&gt; field &amp;gt; right click &amp;gt; choose delete&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_8-1709924960224.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97440iFBD755777EE9CBA5/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_8-1709924960224.png" alt="MarceloMarques_8-1709924960224.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Click &lt;STRONG&gt;Save&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_9-1709925015906.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97441iC8E4A116D9B375FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_9-1709925015906.png" alt="MarceloMarques_9-1709925015906.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;Subtype&lt;/STRONG&gt; field was removed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_10-1709925112831.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97442iF7F261DDF2AA47F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_10-1709925112831.png" alt="MarceloMarques_10-1709925112831.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 19:16:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1393381#M45016</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2024-03-08T19:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a field where subtype was removed</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1473902#M45155</link>
      <description>&lt;P&gt;Is there also a way to do the "Clear all subtypes" action with arcpy?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used&amp;nbsp;&lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.management.RemoveSubtype to remove all subtypes, but then the field is still showing with an asterix and bold.&amp;nbsp;&amp;nbsp;Only when I go to Subtypes &amp;gt; Create/Manage &amp;gt; "select Clear all subtype...", the subtypes are really gone and the field is showing as other fields.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It seems strange that this can't be achieved by removing all subtypes using&amp;nbsp;&lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.management.RemoveSubtype.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 15:03:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1473902#M45155</guid>
      <dc:creator>LaurensKusse_hhdelfland</dc:creator>
      <dc:date>2024-05-16T15:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a field where subtype was removed</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1556152#M45464</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/623055"&gt;@LaurensKusse_hhdelfland&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;did you find a solution ?&lt;/P&gt;&lt;P&gt;I am also trying to remove a field with arcpy after removing all the subtypes but still get this error :&lt;/P&gt;&lt;P&gt;ERROR 002557: Cannot delete field assetgroup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[EDIT] I found the solution :&lt;/P&gt;&lt;P&gt;arcpy.management.SetSubtypeField(&lt;BR /&gt;in_table=my_table,&lt;BR /&gt;field=None,&lt;BR /&gt;clear_value="CLEAR_SUBTYPE_FIELD"&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 03:21:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1556152#M45464</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2024-11-07T03:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a field where subtype was removed</title>
      <link>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1556199#M45465</link>
      <description>&lt;P&gt;Yes, that was the solution! I found this in my Git-repository:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;subtype_code = "'1: Dijk';'2: Dam';'3: Duin';'4: Kunstwerk';'5: Bijzondere waterkerende constructie';'6: Hoge grond'"
arcpy.management.RemoveSubtype(in_table, subtype_code)
print('RemoveSubtype:', arcpy.GetMessages())
arcpy.management.SetSubtypeField(in_table,'','CLEAR_SUBTYPE_FIELD')
print('SetSubtypeField:', arcpy.GetMessages())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 07:38:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/deleting-a-field-where-subtype-was-removed/m-p/1556199#M45465</guid>
      <dc:creator>LaurensKusse_hhdelfland</dc:creator>
      <dc:date>2024-11-07T07:38:36Z</dc:date>
    </item>
  </channel>
</rss>

