Chapter 5. Working with Event Handlers
SharePoint 2007 has a significantly expanded event-handling capability that can be used to add custom pre- or postprocessing of list events. Such handlers dramatically expand what SharePoint can do with lists. And after you've mastered the basics, there's really no limit to the code that you can attach to an event handler. In this chapter, you'll find several recipes that will show you their flexibility and potential, including how to validate and update list item data, send a custom email upon task completion, and prevent users from deleting items based on custom business rules.
Note
Everything shown in this chapter will work in either MOSS 2007 or WSS 3.0.
Why Create an Event Handler?
SharePoint's native list ...
Get SharePoint 2007 Development Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.