Results 1 to 5 of 5

Thread: New event receivers for SharePoint 2010

  1. #1
    Join Date
    Jan 2011
    Posts
    34

    New event receivers for SharePoint 2010

    Its been many time that I am using the Sharepoint but recently I have updated the copy of my Sharepoint to 2010 which seems to be good but I would like to know all the new things that has been added to this new version, For now I am only interested in knowing all the new event receivers that has been added to 2010 version. Can you guys mention about the same?

  2. #2
    Join Date
    Nov 2008
    Posts
    1,022

    Re: New event receivers for SharePoint 2010

    The event handler, within the architecture of SharePoint has always been one of the most used by developers, because they allow customization of the normal procedures carried out by the end user interface, without the latter being aware of actual changes to the interface itself. In SharePoint 2010, the list of available events is greatly increased. Indeed, we have new events of operations undertaken by the workflow engine, from provisioning and that of the incoming mail. Let's see in detail.

    List events (SPListEventReceiver class) : With regard to operations on instances lists were added 4 new custom events useful to carry out operations against an addition of a new listing or a cancellation.

    • Was added to field
    • Being A field is added
    • A field Was removed
    • Being A field is removed
    • A field Was updated
    • A field is Being updated
    • Being A list is added
    • A list is deleted Being
    • Was added to list
    • A list deleted Was

  3. #3
    Join Date
    May 2008
    Posts
    979

    Re: New event receivers for SharePoint 2010

    List item events (SPItemEventReceiver class) : As regards, however, operations on individual elements, was added to a single event on the reaction from the single element to a call from the context. In other words, this event is triggered when it is invoked within the class SPContext other events always for the item.

    • Being An item is added
    • An item is Being updated
    • Being An item is deleted
    • Being An item is checked in
    • Being An item is checked out
    • An item is unchecked Being out
    • Being an attachment is added to the item
    • Being An attachment is removed from the item
    • A file is Being Moved
    • An item added Was
    • An item Was updated
    • Was an item deleted
    • Was an item checked in
    • Was an item checked out
    • An unchecked item Was Out
    • An attachment was added to the item
    • An attachment was removed from the item
    • A File Was Moved
    • A converted file Was
    • The list Received a context event

  4. #4
    Join Date
    Nov 2008
    Posts
    1,221

    Re: New event receivers for SharePoint 2010

    List e-mail events (SPEmailEventReceiver class) : On lists configured to receive e-mail was finally added a specific event just for the receipt of mail. First it was necessary to handle events or ItemAdding ItemAdded parse the email and manually check the attachments.

    • The list Received an e-mail message


    Workflow events (SPWorkflowEventReceiver class) : These are the events that made me find more pleasure in SharePoint 2010. Events to manage the operations of beginning and end of one or more workflow.

    • A workflow is starting
    • A workflow Was started
    • A workflow Was Postponed
    • A completed workflow Was

  5. #5
    Join Date
    Nov 2008
    Posts
    1,185

    Re: New event receivers for SharePoint 2010

    Web events (SPWebEventReceiver class) : Regarding the other hand, sites and site collections, two events have been added (the respective synchronous and asynchronous) to launch custom actions against the provision a new SharePoint 2010 site.

    • A site collection is deleted Being
    • A site is deleted Being
    • A site is Being Moved
    • A site is provisioned Being
    • A site collection Was deleted
    • A site Was deleted
    • A site Was Moved
    • A site Was provisioned

    But the coolest thing ever, is the ability to create these events directly within Visual Studio 2010 through one of its project or item template. The template in question is the template "Event Receiver", which is first to choose which of the events available to the end user wants to manage, then depending on the choice, we create all the structures of XML configuration for the events and associated code files ( . cs or. vb) with the statement of the managers of the selected events.

Similar Threads

  1. Replies: 1
    Last Post: 18-11-2011, 01:13 AM
  2. pdf not opening from sharepoint 2010 with acrobat X pro
    By Upkeerat in forum Windows Software
    Replies: 5
    Last Post: 13-11-2011, 08:50 PM
  3. SharePoint 2010 Top 10 New Features
    By Brexton in forum MS Office Support
    Replies: 5
    Last Post: 29-01-2011, 08:26 AM
  4. SBS 08, Event ID 2436 Windows SharePoint Services 3 Search
    By Meng R in forum Small Business Server
    Replies: 4
    Last Post: 05-04-2010, 10:22 PM
  5. Sharepoint Event ID 6398 and 7023
    By Jisbomb in forum Small Business Server
    Replies: 2
    Last Post: 28-09-2009, 08:19 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,544,643.56600 seconds with 17 queries