Sunday, July 15, 2012

Custom Ribbon SharePoint 2010

Customization of Ribbon is possible by writing an element.xml and deploying it as a feature by adding Empty Element item in VS. Element.xml contains <Custom Action> tag, RegistrationID and RegistrationType and CommandUIDefinition which defines the ribbon location and UI and CommandUIHandlers tag defines the event that will fire on click

We also have Contextual tab group, Group, tab, Control

We have OOB cmdui.xml under layouts/global/xml/ which defines OOB ribbon control and events.
We can also add custom ribbon using web part and page component by using ECMAScript which i have not worked on till now.

No comments:

Post a Comment