|
|
Sharepoint Event Receiver - A Useful FeatureStart with the custom SharePoint Event Receivers from Professional SharePoint Development 2010 and SharePoint consultants. We would be surprised how often we will use the SharePoint Event Receivers instead of implementing workflow capabilities for SharePoint development. Assigning Event Receivers to a list SharePoint Event Receivers are bound through the usage of List Template Id that is ideally mentioned in the feature or sometimes directly added to the Event Receivers collection of a list. If the SharePoint developers are using the latter then it can even be performed utilizing a SPFeatureReceiver. SharePoint development uses feature receiver to custom code and execute once the feature has been installed, activated, deactivated as well as uninstalled. Registering an event with the Event Receivers When Sharepoint developers are working on an offshore SharePoint development project, they become aware that registering an event to which the Event Receiver will respond to will be subscribed using the feature file. Alternately, if the event receiver is tied to the list through code, one can specify it when adding the event handler through the utilization of enumeration of SPEventReceiver Type. Using it before events Even before an event is used, SharePoint consultants can cancel the task that has been executed and all that the SharePoint developers need to be careful about is to implement this particular behavior. SharePoint developers wouldn't like to involve users to modify a particular schema of a list or the criteria that failed when a new item has been added. Usually, the before events are also known as synchronous events and this tends to stop the flow of execution till the code that has been processed for the particular event handler has already run. These are commonly utilized to perform validation on the entered data to manage data integrity or even offer custom validation rules, which the front-end cannot provide. Using it after events Mostly, after events are asynchronous events and SharePoint consultants know that this wouldn't put a stop to the execution of the current flow. SharePoint developers know these are mostly used to kick off a business process. Event Receivers in SharePoint 2010 enhancements
Article Tags: Sharepoint Event Receiver, Sharepoint Event, Event Receiver, Event Receivers, Sharepoint Developers, Sharepoint Development, Sharepoint Consultants Source: Free Articles from ArticlesFactory.com
ABOUT THE AUTHORAegis Software has a reputation of being an established name in the industry for the SharePoint development and SharePoint consultants; we want you to achieve your desired business objectives on time committed.
|
||||||||||||||||||||||||||||||||||||||||||
Partners
|