Description
A tool for registering/unregistering Event Handlers from a SharePoint List or Library. It uses an XML file to register event handlers.
http://localhost/hr/employeepictures" contenttype="" eventtype="ItemAdded" />
http://localhost/hr/employeepictures" contenttype="" eventtype="ItemUpdating" />
http://localhost/hr/employeepictures" contenttype="" eventtype="ItemDeleting" />
- The definition root node can contain multiple definition nodes
- A definition node has attributes assembly and class pointing to the event handler location
- A definition node can contain multiple list nodes
- A list node has attributes
-
url: the absolute URL to the SharePoint List or Library
-
contenttype: the name of the content type to which the event handler registers to. if empty the event handler is registered to the list
-
eventtype: one of the SPEventReceiverType enumeration values
Screenshot
Requirements
This tool requires WSS 3.0.
The tool must be run locally on the SharePoint server.
Downloads
Visual Studio 2005 Project + compiled executable
Instructions
Run the tool and specify the path to the XML file that will be used. You can view the XML file contents using the "View" button.
Use "Register" or "Unregister" to process the XML file. A log file will be generated for each Event Handler definition. After processing the XML file the log file will open for display.
If a definition fails the log file will show the error message. An entry will also be written to the machine's event log.