<?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 EditCompletedEventArgs and Deletes in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/editcompletedeventargs-and-deletes/m-p/1203435#M8596</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are interested in accessing attributes of deleted feature(s) when handling `EditCompletedEvent`. Just checking in, is the guidance in &lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/deletes-in-editcompleted/td-p/826159" target="_self"&gt;this post&lt;/A&gt; is still accurate with the release of ArcGIS Pro 3.0? The post recommends to handle `RowDeletedEvent` since deleted feats are not available in this (or any) edit event.&lt;/P&gt;&lt;P&gt;I've perused these version 3.0 links and not found anything different...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic9771.html" target="_self"&gt;EditCompletedEventArgs Class&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-3.0-Migration-Guide#arcgisdesktopeditingdll" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-3.0-Migration-Guide#arcgisdesktopeditingdll&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro-net/mapping/whats-new-in-the-arcgis-pro-sdk-3-0/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/arcgis-pro-net/mapping/whats-new-in-the-arcgis-pro-sdk-3-0/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;.... but want to make sure I haven't missed anything. Again, is the recommendation still to handle `&lt;SPAN&gt;RowDeletedEvent` if we want access to deleted features' attributes in the ArcGIS Pro 3.0 SDK?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Cory&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2022 19:04:49 GMT</pubDate>
    <dc:creator>coryeicher</dc:creator>
    <dc:date>2022-08-16T19:04:49Z</dc:date>
    <item>
      <title>EditCompletedEventArgs and Deletes</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/editcompletedeventargs-and-deletes/m-p/1203435#M8596</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are interested in accessing attributes of deleted feature(s) when handling `EditCompletedEvent`. Just checking in, is the guidance in &lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/deletes-in-editcompleted/td-p/826159" target="_self"&gt;this post&lt;/A&gt; is still accurate with the release of ArcGIS Pro 3.0? The post recommends to handle `RowDeletedEvent` since deleted feats are not available in this (or any) edit event.&lt;/P&gt;&lt;P&gt;I've perused these version 3.0 links and not found anything different...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic9771.html" target="_self"&gt;EditCompletedEventArgs Class&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-3.0-Migration-Guide#arcgisdesktopeditingdll" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-3.0-Migration-Guide#arcgisdesktopeditingdll&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro-net/mapping/whats-new-in-the-arcgis-pro-sdk-3-0/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/arcgis-pro-net/mapping/whats-new-in-the-arcgis-pro-sdk-3-0/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;.... but want to make sure I haven't missed anything. Again, is the recommendation still to handle `&lt;SPAN&gt;RowDeletedEvent` if we want access to deleted features' attributes in the ArcGIS Pro 3.0 SDK?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Cory&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 19:04:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/editcompletedeventargs-and-deletes/m-p/1203435#M8596</guid>
      <dc:creator>coryeicher</dc:creator>
      <dc:date>2022-08-16T19:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: EditCompletedEventArgs and Deletes</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/editcompletedeventargs-and-deletes/m-p/1205559#M8636</link>
      <description>&lt;P&gt;Cory,&lt;/P&gt;&lt;P&gt;Yes this advice is still valid.&amp;nbsp; In summary, the EditCompleted fires after an edit is complete (after the row has been deleted) its primary use is to inform listeners with hints about what cached state may have been invalidated by the issue (with row level granularity when possible).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RowDeleted is fired earlier, while the edit is still in progress, and as such has access to the GDB objects being modified (in this case deleted) to investigate the attributes.&amp;nbsp; Later on this row won't exist in the database and only the ObjectID will be available to provide information about the deleted row.&amp;nbsp;&lt;/P&gt;&lt;P&gt;RowDeleted requires the listener to specify which table(s) they are interested in prior to the edits occurring (and later disconnecting) while EditCompleted fires generally on every edit with information about any data being edited.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 20:01:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/editcompletedeventargs-and-deletes/m-p/1205559#M8636</guid>
      <dc:creator>John_Jones</dc:creator>
      <dc:date>2022-08-23T20:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: EditCompletedEventArgs and Deletes</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/editcompletedeventargs-and-deletes/m-p/1206345#M8650</link>
      <description>&lt;P&gt;Thank you. Appreciate the confirmation.&lt;/P&gt;&lt;P&gt;For context, in our scenario we are wanting to trigger downstream changes, specifically deleting non-spatial rows from related table(s). We're avoiding use of OIDs as keys, and generally looking to keep it as simple as possible.&lt;/P&gt;&lt;P&gt;We may also look at using composite relationship classes for our use case.&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;-Cory&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 14:53:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/editcompletedeventargs-and-deletes/m-p/1206345#M8650</guid>
      <dc:creator>coryeicher</dc:creator>
      <dc:date>2022-08-25T14:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: EditCompletedEventArgs and Deletes</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/editcompletedeventargs-and-deletes/m-p/1206506#M8655</link>
      <description>&lt;P&gt;In addition to composite relationship classes you may want to investigate using a Attribute rule (constraint with trigger on Delete) to embed the logic in an Arcade expression that will be triggered from all clients not only Pro (with your Add-In extension running).&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 20:08:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/editcompletedeventargs-and-deletes/m-p/1206506#M8655</guid>
      <dc:creator>John_Jones</dc:creator>
      <dc:date>2022-08-25T20:08:11Z</dc:date>
    </item>
  </channel>
</rss>

