Adding a new ribbon button

This recipe will start you with the basics. We'll be looking at adding a new ribbon button. Be aware that you can add a ribbon button across all entities or to a specific entity only. Read through the steps, as there are points identifying which action has to be taken and when.

The ribbon is comprised of the following elements:

  • Tabs
  • Groups
  • Controls

Each of these elements are stacked one inside the other. Tabs contain Groups that contain Controls.

In order to customize the ribbon, please be aware that there are various levels at which this customization can be implemented. These levels are as follows:

  • Ribbon at the web application level
  • Ribbon at the form level
  • Ribbon at the grid level
  • Ribbon at the entity level

In addition to these ...

Get Microsoft Dynamics CRM 2011 Scripting Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.