Upload
shannon-merritt
View
213
Download
0
Embed Size (px)
Citation preview
FEDSPUG – Washington, DC
SHAREPOINT 2010EVENT RECEIVERS
SharePoint Development
January 5th, 2012
Timothy Ferro
AgendaMy BackgroundOverview of SharePoint 2010 Event
ReceiversFocus on List Item EventsDemoReferences
My BackgroundSharePoint Architect / Senior DeveloperBooz Allen Hamilton4+ Years Developing MOSS 2007 and
SharePoint 2010 SolutionsSpecializing in List Item Event Receivers,
jQuery, and Mapping Web Partswww.timferro.com@timferro
Overview of SharePoint 2010 Event Receivers
Main Types: Site Collection, Web, List, Field, Item, and Workflow
Main Events: Creation, Update, Deletion, Modification, Conversion, Attachment
Synchronous vs. AsynchronousBinding Event ReceiversDisabling
Focus on List Item EventsEvent Receiver Base ClassSPItemEventReceiver
Available Event Host TypesSPSiteSPWebSPListSPContentType
Supported EventsItemAddingItemAddedItemDeletingItemDeletedItemUpdatingItemUpdatedItemFileConvertedItemFileMovingItemFileMovedItemCheckingInItemCheckedInItemCheckingOutItemCheckedOutItemAttachmentAddingItemAttachmentAddedItemAttachmentDeletingItemAttachmentDeleted
DemoSetting up SharePoint 2010 Event
Receiver SolutionFeature Activation CodeEvent Receiver CodeEvent Receiver Examples
Update FieldsValidate DataCheck PermissionsAlerts and Emails“Workflow”Create Sites/Lists/Folders/Items
[email protected]@timferrohttp://msdn.microsoft.com/en-us/library/gg
749858.aspxhttp://msdn.microsoft.com/en-us/library/gg
981880.aspxhttp://msdn.microsoft.com/en-us/library/mi
crosoft.sharepoint.spitemeventreceiver.aspx