<?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 A view I just created is not editable in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/a-view-i-just-created-is-not-editable/m-p/1678332#M11840</link>
    <description>&lt;P&gt;I created a view in a (SQL Server) geodatabase, registered it with the geodatabase, and am now trying to set field aliases, but AlterField fails on line 7 with the message&amp;nbsp;&lt;STRONG&gt; ERROR 000499: table is not editable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The relevant code looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;if arcpy.Exists(VIEW_NAME):
    arcpy.management.Delete(VIEW_NAME)

arcpy.management.CreateDatabaseView(settings.DATABASE, VIEW_NAME, sql)
arcpy.management.RegisterWithGeodatabase(VIEW_NAME, "OBJECTID", "SHAPE", "POLYLINE", arcpy.SpatialReference(28992))
arcpy.AlterAliasName(VIEW_NAME, "Readable name")
arcpy.management.AlterField(VIEW_NAME, "id", "id", "Nr.")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I comment out line 1‒6, and re-run the script, it works without problems, so it looks as if the script creates a lock that prevents itself from continuing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ArcGIS Pro 3.5&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jan 2026 10:51:48 GMT</pubDate>
    <dc:creator>BerendVeldkamp</dc:creator>
    <dc:date>2026-01-16T10:51:48Z</dc:date>
    <item>
      <title>A view I just created is not editable</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/a-view-i-just-created-is-not-editable/m-p/1678332#M11840</link>
      <description>&lt;P&gt;I created a view in a (SQL Server) geodatabase, registered it with the geodatabase, and am now trying to set field aliases, but AlterField fails on line 7 with the message&amp;nbsp;&lt;STRONG&gt; ERROR 000499: table is not editable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The relevant code looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;if arcpy.Exists(VIEW_NAME):
    arcpy.management.Delete(VIEW_NAME)

arcpy.management.CreateDatabaseView(settings.DATABASE, VIEW_NAME, sql)
arcpy.management.RegisterWithGeodatabase(VIEW_NAME, "OBJECTID", "SHAPE", "POLYLINE", arcpy.SpatialReference(28992))
arcpy.AlterAliasName(VIEW_NAME, "Readable name")
arcpy.management.AlterField(VIEW_NAME, "id", "id", "Nr.")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I comment out line 1‒6, and re-run the script, it works without problems, so it looks as if the script creates a lock that prevents itself from continuing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ArcGIS Pro 3.5&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2026 10:51:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/a-view-i-just-created-is-not-editable/m-p/1678332#M11840</guid>
      <dc:creator>BerendVeldkamp</dc:creator>
      <dc:date>2026-01-16T10:51:48Z</dc:date>
    </item>
  </channel>
</rss>

