<?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 Insert Cursor Documentation Question in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/insert-cursor-documentation-question/m-p/1075210#M6830</link>
    <description>&lt;P&gt;The API reference guide states, "&lt;SPAN&gt;When used in an ArcGIS Pro add-in, insert cursors should be used within an&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Editing#edit-operation-callback" target="_blank" rel="noopener"&gt;edit operation callback&lt;/A&gt;&lt;SPAN&gt;. For stand-alone CoreHost applications, insert cursor usage should be enclosed within a call to&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic72539.html" target="_blank"&gt;Geodatabase.ApplyEdits&lt;/A&gt;&lt;SPAN&gt;." My question is, what is the reasoning behind this? What would happen if Geodatabase.ApplyEdits was used within an add-in?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jul 2021 16:12:00 GMT</pubDate>
    <dc:creator>Kbperri</dc:creator>
    <dc:date>2021-07-02T16:12:00Z</dc:date>
    <item>
      <title>Insert Cursor Documentation Question</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/insert-cursor-documentation-question/m-p/1075210#M6830</link>
      <description>&lt;P&gt;The API reference guide states, "&lt;SPAN&gt;When used in an ArcGIS Pro add-in, insert cursors should be used within an&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Editing#edit-operation-callback" target="_blank" rel="noopener"&gt;edit operation callback&lt;/A&gt;&lt;SPAN&gt;. For stand-alone CoreHost applications, insert cursor usage should be enclosed within a call to&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic72539.html" target="_blank"&gt;Geodatabase.ApplyEdits&lt;/A&gt;&lt;SPAN&gt;." My question is, what is the reasoning behind this? What would happen if Geodatabase.ApplyEdits was used within an add-in?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 16:12:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/insert-cursor-documentation-question/m-p/1075210#M6830</guid>
      <dc:creator>Kbperri</dc:creator>
      <dc:date>2021-07-02T16:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Cursor Documentation Question</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/insert-cursor-documentation-question/m-p/1075268#M6831</link>
      <description>&lt;P&gt;This really has nothing to do with Insert Cursors.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;All&lt;/STRONG&gt; editing inside an ArcGIS Pro add-in should use edit operations, either directly or with an edit operation callback. &amp;nbsp;If you use Geodatabase.ApplyEdits, the map is not refreshed and the operation stack (undo/redo) is unaware of your edits.&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 18:05:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/insert-cursor-documentation-question/m-p/1075268#M6831</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2021-07-02T18:05:19Z</dc:date>
    </item>
  </channel>
</rss>

