Select to view content in your preferred language

Detect split event

1473
6
05-21-2019 07:29 AM
BerendVeldkamp
Frequent Contributor

Is there a way to detect if a user has performed a Split operation?

I noticed that in this case the EditCompleted event has 1 'Modify', and 1 or more 'Creates'. In my case, the table has an ID field that must be unique, so I could check if in this situation all created records have the same ID as the modified record, but I was hoping there was a simpler way.

0 Kudos
6 Replies
by Anonymous User
Not applicable

Berend,

There's no easy way at the moment to tell if a split operation has occurred. There is a splitevent in the internal editing namespace but this hasnt been made public yet.

0 Kudos
BerendVeldkamp
Frequent Contributor

Thanks for the reply, Sean.

It turned out this was an X/Y problem, so I don't need a Split event in the end.

0 Kudos
JohnJones
Esri Contributor

Berend, glad you were able to make progress could you clarify what you really needed (which you already had apparently) in place of the requested functionality and how that was a more reasonable solution to your problem?

0 Kudos
BerendVeldkamp
Frequent Contributor

One of our user stories described a rule where after a split, a certain attribute value of one of the parts should retain its value, whereas that value for all other parts should be set to 0.

I was so focused on the split action, that I didn't think of the more general rule where all new features should have that value set to 0. This can easily be achieved by listening to the RowCreated event.

0 Kudos
FabricioBezerra
Emerging Contributor

Is there any update on detecting if a split operation has occurred? 

0 Kudos
AProzuk
New Contributor

We have submitted a request to provide events to capture split and merge operations.

We want to edit the geometry using split and merge operations and capture these operations to change its attributes.
Since no events are available to capture split and merge operations, the attributes of the edited geometry cannot be updated.
The comments here state that the internal edit names contain a split event, but it is not publicly accessible.
We need these events to capture split and merge operations and have requested them.

The idea for this can be found at the following link: Request for the events to capture the split and me... - Esri Community

0 Kudos