<?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: Deletes in EditCompleted in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/deletes-in-editcompleted/m-p/826160#M3035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kris,&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Is there an alternative to using RowDeletedEvent&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Not at this time but we are looking into better ways to track changes during an edit session.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2020 21:00:30 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-07-22T21:00:30Z</dc:date>
    <item>
      <title>Deletes in EditCompleted</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/deletes-in-editcompleted/m-p/826159#M3034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently&amp;nbsp;handling the EditCompleted event for several purposes.&amp;nbsp; One is for modifies (if a user moves, rotates, scales, etc.&amp;nbsp;features we are watching for).&amp;nbsp; And now I am handling deletes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The event&amp;nbsp;arguments object provides the layers and object ids that have deleted features.&amp;nbsp; However, these features are already deleted since this is the EditCompleted event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcMap, there was a BeforeStopEditing event.&amp;nbsp;&amp;nbsp;In that implementation, we processed any features marked for delete so then in&amp;nbsp;StopEditing we could update our data source (to keep in sync with ArcMap in that case).&amp;nbsp; I need to do something along the same lines in ArcGIS Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our FeatureClass we added several fields - ElementTypeId and ElementId.&amp;nbsp; This gives us enough information to look up the object in our own datasource.&amp;nbsp; However, since the feature is already deleted, I can't access either field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the RowDeletedEvent on the FeatureLayer is not an option right now.&amp;nbsp; We have 31 feature layers that we&amp;nbsp;watch/maintain so it would be complicated, to say the least.&amp;nbsp; Is there an alternative to using RowDeletedEvent?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2020 21:30:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/deletes-in-editcompleted/m-p/826159#M3034</guid>
      <dc:creator>KrisCulin</dc:creator>
      <dc:date>2020-07-21T21:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Deletes in EditCompleted</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/deletes-in-editcompleted/m-p/826160#M3035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kris,&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Is there an alternative to using RowDeletedEvent&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Not at this time but we are looking into better ways to track changes during an edit session.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2020 21:00:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/deletes-in-editcompleted/m-p/826160#M3035</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-07-22T21:00:30Z</dc:date>
    </item>
  </channel>
</rss>

