Microsoft Windows SharePoint Services
HomeBackForwardPrint

About document library event handlers

About document library event handlers

Document library event handler support allows software developers to create software that uses document library events to perform automated actions. When you combine document libraries, customized code for event handling, and possibly XML forms, you can create powerful solutions that are easy for users to work with.

For example, in the healthcare industry, admitting a new patient requires that a lot of paperwork be generated in a specific order. You can write an application that interacts with XML forms stored in a form library to do the following:

You can track the following events for document libraries.

EventDescription
InsertA new document is added to the document library.
UpdateAn existing document is edited.
DeleteAn existing document is deleted.
MoveA document is moved or renamed.
CopyA document or folder is copied.
Check InA document is checked in.
Check OutA document is checked out.
Cancel Check-OutA document check-out is cancelled by another user

For more information about writing managed code to interact with document library events, see the Microsoft Windows SharePoint Services Software Development Kit.

To allow developers in an organization to use the document library events to write code, you must enable this feature at the virtual server level.

©2003 Microsoft Corporation. All rights reserved.