Select to view content in your preferred language

Get Edit Event when using geoprocessing tools

164
0
03-06-2025 05:00 AM
ModyBuchbinder
Esri Regular Contributor

Hello all

We are using edit events to replace old class extension.

Our data is in Enterprise geodatabase (Oracle) with traditional version.

We added the "Edit" button to our Pro UI and when you use it everything works well.

The problem is when you use GeoProcessing tool (Calculate field or Append) and does not start an edit session.

The events are not fired and the user can edit without any limits.

Is there any way to make the event fire or at least to prevent the running a GP tool if not in edit session?

I found this old post:  https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-modify-a-feature-within-row-events-whi...

Maybe Attribute rules can help make sure we are in edit session?

We cannot do the edit events in Attribute rules, the Arcade does not have some of the option that we use in our C# code.

Thanks

0 Kudos
0 Replies