<?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 Version Views Break When Deleting Multiple Fields in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/version-views-break-when-deleting-multiple-fields/m-p/1594330#M11219</link>
    <description>&lt;P&gt;We recently ran a Python script to remove multiple old, unused fields from several versioned feature classes.&amp;nbsp; &amp;nbsp; Initial testing found this to work OK.&amp;nbsp; Later rounds of testing found that this script "broke" multiple versioned views -- as in, the _evw SQL was not updated to remove the deleted fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We later found the following bug report describing this problem occurring when multiple fields are deleted in ArcGIS Pro.&amp;nbsp; &amp;nbsp;However, our script ran in ArcMap.&amp;nbsp; &amp;nbsp;Is there a chance the same bug reported for Pro also exists in ArcMap?&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/bug/a-versioned-enterprise-geodatabase-view-does-not-update-bug-000164901" target="_blank" rel="noopener"&gt;https://support.esri.com/en-us/bug/a-versioned-enterprise-geodatabase-view-does-not-update-bug-000164901&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 18:06:46 GMT</pubDate>
    <dc:creator>EdwardBlair</dc:creator>
    <dc:date>2025-03-11T18:06:46Z</dc:date>
    <item>
      <title>Version Views Break When Deleting Multiple Fields</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/version-views-break-when-deleting-multiple-fields/m-p/1594330#M11219</link>
      <description>&lt;P&gt;We recently ran a Python script to remove multiple old, unused fields from several versioned feature classes.&amp;nbsp; &amp;nbsp; Initial testing found this to work OK.&amp;nbsp; Later rounds of testing found that this script "broke" multiple versioned views -- as in, the _evw SQL was not updated to remove the deleted fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We later found the following bug report describing this problem occurring when multiple fields are deleted in ArcGIS Pro.&amp;nbsp; &amp;nbsp;However, our script ran in ArcMap.&amp;nbsp; &amp;nbsp;Is there a chance the same bug reported for Pro also exists in ArcMap?&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/bug/a-versioned-enterprise-geodatabase-view-does-not-update-bug-000164901" target="_blank" rel="noopener"&gt;https://support.esri.com/en-us/bug/a-versioned-enterprise-geodatabase-view-does-not-update-bug-000164901&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 18:06:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/version-views-break-when-deleting-multiple-fields/m-p/1594330#M11219</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2025-03-11T18:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Version Views Break When Deleting Multiple Fields</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/version-views-break-when-deleting-multiple-fields/m-p/1595788#M11223</link>
      <description>&lt;P&gt;After much testing, including tests that incorporated the Esri-suggested work-around for the ArcPro bug (deleting individual fields in distinct "DeleteField" operations rather multiple fields at a time) I'm now convinced this is also a bug in ArcMap/ArcCatalog.&amp;nbsp; &amp;nbsp;Specifically, Oracle versioned views (evw's) can "break" (not be updated to reflect deleted fields) when fields are deleted through Python scripts.&lt;/P&gt;&lt;P&gt;I've also found that there is a (fairly) convenient way to repair the views once broken.&amp;nbsp; &amp;nbsp;Simply select the affected class in ArcCatalog and select "Manage | Enable SQL Access" , as described &lt;A title="Enable SQL Access" href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/enable-sql-access-from-arcgis-desktop.htm#:~:text=Right%2Dclick%20the%20table%2C%20feature,class%20in%20the%20feature%20dataset." target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It would be much better if the views didn't break in the first place.&amp;nbsp; &amp;nbsp;But if they do, at least you don't have to modify the SQL in SQL*Developer to fix them.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 01:06:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/version-views-break-when-deleting-multiple-fields/m-p/1595788#M11223</guid>
      <dc:creator>EdwardBlair</dc:creator>
      <dc:date>2025-03-15T01:06:05Z</dc:date>
    </item>
  </channel>
</rss>

