Step by step SharePoint 2007 of 29

Source: Internet
Author: User
Tags mail

Implementing the Document Event Handler (1)--Start Event Handler support

Summary

In practical applications, we often need to send some of the Web site operations to others by mail or other means, such as uploading a document, asking for an email, notify the leader of the new document upload and so on. To achieve this, we can use the Event Handler in SharePoint.

This article describes how to implement the process of document event handler.

Body

In order to give friends a clearer idea of the steps to implement the document event handler, this article will be split into a few small sections, each part explaining a large implementation step. Therefore, for all the inconvenience of reading, please Haihan:

It is noteworthy that this is the implementation of the document event Handler, that is, only for the document upload, update, and other event Handler. Other types of event Handler will be introduced in subsequent articles.

In addition, for the sake of simplicity, here I realize the event handler, not to send mail, write database operations, but to C: wrote a file. You can try to change to send mail, write the database and so on the way.

To implement event Handler, you must first start event Handler support.

The procedures for each step are recorded below.

1, first open the SharePoint 3.0 Central Administration, and then open the Application Managerment Admin page. These pages are all old faces:

2, click the Web application settings, then enter the Web application Settings page.

In the Web Application Settings page, locate the event handlers item, set it to on, and then click the OK button to save the settings.

At this point, starting event handler support was successful.

In the next article I'll record how to implement the second part of the document event handler--writing the handler program.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.