Customizing the Server Ribbon

SharePoint 2010

Published: May 2010

The Server ribbon in SharePoint Foundation 2010 can be customized by using Server ribbon XML and ECMAScript (JavaScript, JScript). The XML defines the controls on the ribbon; the ECMAScript performs actions on the page or an object on the page. You can use ECMAScript that exists in the SharePoint FoundationECMAScript object model or built-in ECMAScript functions. You can also add your own ECMAScript to the page and use it to interact with the ribbon.

When customizing the Server ribbon, you can add, replace, and remove controls, groups, and tabs. Customizations to the ribbon are defined by using Server ribbon XML in a Feature and can be deployed in a solution package (.wsp file). Ribbon customizations can be scoped to a particular list type by using the RegistrationId and RegistrationType attributes. Customizations can also be scoped to a site or to a particular web by using the Scope attribute in the Feature.xml file.

Change History

Date

Description

Reason

May 2010

Initial publication

posted @ 2010-10-29 17:02  一只老鼠  阅读(282)  评论(0编辑  收藏  举报