Customizing and Deploying Ribbon in SharePoint 2010

*** Please view the disclaimer before you proceed ***

Introduction: You might have seen in the sneak peek and beta screens of Office 2010 the new Ribbon pattern / interface / control. This post would give details about how to customize and deploy the same using Windows Power Shell.

How to: A sample feature could resemble the following:

<?xml version="1.0" encoding="utf-8" ?>
<Feature Id="FeatureId"
Title="Name of the Feature"
Description="Description of the Feature."
Version="1.0.0.0"
Scope="Web"
xmlns="http://schemas.microsoft.com/sharepoint/">
<ElementManifests>
<ElementManifest Location="manifest.xml" />
</ElementManifests>
</Feature>

To deploy and enable it use the following commands:

Install-SPFeature FeatureId Enable-SPFeature FeatureId -Url http://server/site/subsite


Technorati Tags: ,

Comments