The ECB menu controller for SharePoint 2007

Source: Internet
Author: User

The menu shown in the following figure is the so-called ECB Edit control block menu. In SharePoint 2007, all list items, documents, and folders have the ECB menu. The ECB menu will not only appear in the View page of the list or document library, if we place a list View Web Part in any one of the pages, but also in this Web Part, the ECB menu can be displayed.

The role of the ECB menu controller is to allow webmasters to add the custom menu items they want to any ECB menu, as well as delete any built-in menu items from any one of the ECB menus. Administrators are able to control the display of the ECB menu in a very flexible way, based on "rule" management.

Here are some examples of scenarios that illustrate the granularity of control that can be achieved through the ECB menu controller:

Removes all list items from the entire Web site from the Administrative Permissions menu item in the ECB menu of the file, but preserves the Manage Permissions menu item on the folder's ECB menu.

Add a menu item, "Add this person as friend," to the ECB menu of a list item with a content type of contact in the Web site, regardless of which list it is in.

From the ECB menu in the Shared Documents document library, remove all built-in menu items except view properties, and add a "Archive this folder" menu item to the ECB menu for all folders in this document library.

Removes the Delete menu item from all ECB menus displayed on the home page, but retains the Delete menu item in the ECB menu on the home page.

The following section is a simple instructions for the ECB menu controller.

After downloading the setup file for the ECB menu controller (this is a. WSP solution package), install it into the SharePoint 2007 System. It installs a Feature at the site level, enters the website function Management page, activates the "ECB menu item Controller" Feature. The ECB menu controller is activated or closed at the site level, and administrators can activate it in a Web site that requires this feature.

After activating feature, there is a "ECB menu item" link in the appearance area of the Site Administration page. Clicking on this link will open the ECB menu item control rule Management interface.

In the ECB menu item control rule management interface, administrators can add two rules, "ECB menu item Add rule" and "ECB menu item removal rule". The former is used to define a rule that adds a new ECB menu item, which is used to define a rule that deletes the built-in ECB menus.

The following figure is an interface to create a rule for the ECB menu item.

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.