PROBLEM

Editor event listeners do not recognize added layers

Last Published: April 25, 2020

Description

The Editor events OnChangeFeature, OnCreateFeature, and OnDeleteFeature will not listen to row changes of layers that were added to ArcMap after the edit session was initialized.

Custom tools or editor extensions can listen to Editor coclass events.

Solution or Workaround



When listening to the row events (events propagated by geodatabase feature classes), write a class extension that implements IobjectClassEvents to overcome this limitation.

The geodatabase section of the developer samples contains a class extension sample that listens to row events.

Article ID:000003559

Software:
  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic