<?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: InsertCursor not working on featureclass with Attachments in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/insertcursor-not-working-on-featureclass-with/m-p/555431#M43388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to edit data that have feature linked annotation ... and am getting the same error. I have been digging and digging and have yet to find a way to start an edit session through the script. I've even loaded the script into ArcToolbox, started editing, ran the script, and still had it fail on me. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone has any advice I would appreciate it as well!! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;My InsertCursor works fine on the featureclass until I 'Create Attachments' to the feature class through ArcCatalog, then I get 'Objects in this class cannot be updated outside an edit session'.&lt;BR /&gt;&lt;BR /&gt;This is clearly a problem since 'All updates or insertions to a table are done outside an edit session in ArcGIS' when using arcpy.InsertCursor.&lt;BR /&gt;&lt;BR /&gt;I'm not trying to insert attachments, just features into the featureclass.&lt;BR /&gt;&lt;BR /&gt;Is there a workaround?&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2011 16:13:30 GMT</pubDate>
    <dc:creator>ChristinaGnadinger</dc:creator>
    <dc:date>2011-10-24T16:13:30Z</dc:date>
    <item>
      <title>InsertCursor not working on featureclass with Attachments</title>
      <link>https://community.esri.com/t5/python-questions/insertcursor-not-working-on-featureclass-with/m-p/555430#M43387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My InsertCursor works fine on the featureclass until I 'Create Attachments' to the feature class through ArcCatalog, then I get 'Objects in this class cannot be updated outside an edit session'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is clearly a problem since 'All updates or insertions to a table are done outside an edit session in ArcGIS' when using arcpy.InsertCursor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not trying to insert attachments, just features into the featureclass.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a workaround?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 06:57:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insertcursor-not-working-on-featureclass-with/m-p/555430#M43387</guid>
      <dc:creator>MortenHjelmsmark</dc:creator>
      <dc:date>2011-10-24T06:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: InsertCursor not working on featureclass with Attachments</title>
      <link>https://community.esri.com/t5/python-questions/insertcursor-not-working-on-featureclass-with/m-p/555431#M43388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to edit data that have feature linked annotation ... and am getting the same error. I have been digging and digging and have yet to find a way to start an edit session through the script. I've even loaded the script into ArcToolbox, started editing, ran the script, and still had it fail on me. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone has any advice I would appreciate it as well!! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;My InsertCursor works fine on the featureclass until I 'Create Attachments' to the feature class through ArcCatalog, then I get 'Objects in this class cannot be updated outside an edit session'.&lt;BR /&gt;&lt;BR /&gt;This is clearly a problem since 'All updates or insertions to a table are done outside an edit session in ArcGIS' when using arcpy.InsertCursor.&lt;BR /&gt;&lt;BR /&gt;I'm not trying to insert attachments, just features into the featureclass.&lt;BR /&gt;&lt;BR /&gt;Is there a workaround?&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 16:13:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insertcursor-not-working-on-featureclass-with/m-p/555431#M43388</guid>
      <dc:creator>ChristinaGnadinger</dc:creator>
      <dc:date>2011-10-24T16:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: InsertCursor not working on featureclass with Attachments</title>
      <link>https://community.esri.com/t5/python-questions/insertcursor-not-working-on-featureclass-with/m-p/555432#M43389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems to be a very old thread but ran into this problem today.&amp;nbsp; I was able to get around it by using an arcpy.da.InsertCursor rather than the non-da style.&amp;nbsp; When you were having this issue were you using a non-da InsertCursor?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 18:00:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/insertcursor-not-working-on-featureclass-with/m-p/555432#M43389</guid>
      <dc:creator>BrandonKeinath1</dc:creator>
      <dc:date>2014-12-26T18:00:17Z</dc:date>
    </item>
  </channel>
</rss>

