SIGN UP MEMBER LOGIN:    
ARTICLE

New Event Handlers in SharePoint 2010

Posted by Destin joy Articles | SharePoint June 21, 2011
In this article I am describing the new event handlers in SharePoint 2010
Reader Level:

In SharePoint 2010, there are many new event handlers that can be leveraged to interject our custom code that will take effect when end users perform various actions. There are around 12 new event handlers available.

List Events

Existing Ones

  • A field was added
  • A field is being added
  • A field was removed
  • A field is being removed
  • A field was updated
  • A field is being updated

New Additions

  • A list is being added
  • A list is being deleted
  • A list was added
  • A list was deleted

List Item Events

Existing Ones

 

  • An item is being added
  • An item is being updated
  • An item is being deleted
  • An item is being checked in
  • An item is being checked out
  • An item is being unchecked out
  • An attachment is being added to the item
  • An attachment is being removed from the item
  • A file is being moved
  • An item was added
  • An item was updated
  • An item was deleted
  • An item was checked in
  • An item was checked out
  • An item was unchecked out
  • An attachment was added to the item
  • An attachment was removed from the item
  • A file was moved
  • A file was converted

New Additions

  • The list received a context event

List Workflow Events

This is very new in 2010; these events are not available in SharePoint 2007:

  • A workflow is starting
  • A workflow was started
  • A workflow was postponed
  • A workflow was completed

List Email Events

This is very new in 2010; these events are not available in SharePoint 2007:

  • The list received an e-mail message

Feature Events

There are no additions

  • A feature was activated
  • A feature is deactivating
  • A feature was installed
  • A feature is being upgraded

Web Events

Existing Ones

  • A site collection is being deleted
  • A site is being deleted
  • A site is being moved
  • A site collection was deleted
  • A site was deleted
  • A site was moved

New Additions

  • A site is being provisioned
  • A site was provisioned

Now we are no longer depending on "feature stapling" to execute code on a site after it is provisioned. We can now just attach this web event when the site is provisioned.

Login to add your contents and source code to this article
share this article :
post comment
 
Team Foundation Server Hosting
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
    Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Nevron Gauge for SharePoint
Become a Sponsor