List Event Receivers

Adds a event receivers to handle events like FieldAdded, FieldUpdating etc.

Recipe Description

Creates a ListEventReceiver.

Arguments

Name Description
Event Handler settings
Name Required Text. Used as the class name of the event handler.
List Template Optional Text. Specifies the index of the list template to which the event receiver applies. The following values are the default list template types.
List Template Owner Optional GUID. Specifies the GUID of the list template owner if the list template is registered via Features, or the name of the site definition if the list template is registered by a site definition.
Sequence Required Number. Specifies the order to use for the event registration when more than one handler is associated with the feature.
Registrations
Event Types Select the event elements.
Optional Settings
RootWebOnly Optional Boolean. True if the event receiver applies only to the root Web; otherwise, False.
Scope Optional enumeration. The scope of the event receiver. This can be Site or Web. When the Scope attribute is set to Site, event receivers that are defined inside of a Feature that is scoped to the site collection are registered at the site collection level. When the Scope attribute is set to Web, event receivers that are defined inside of a Feature that is scoped to a Web are registered on the Web.
Synchronization Specifies the synchronization of the event receiver.

References

Authors

  • Torsten Mandelkow
  • Matthias Einig

Version history

  • 1.1 Updated Documentation
  • 1.0 Initial Recipe