Creating other ribbon artefacts

In this example, we will be looking at the flyout anchor ribbon element in Dynamics CRM 2011. This allows us to nest multiple ribbon buttons under a single header, thus saving space on the ribbon and grouping common elements together.

Getting ready

For this recipe, we can either use an existing solution, or create a new one. Make sure you have permissions to make customizations in the system.

How to do it...

Perform the following steps to generate a ribbon flyout that contains other buttons:

  1. Create a new solution. Alternatively you can use any existing solution.
  2. Add the Account entity if not already added. We will place the flyout on the Account ribbon.
  3. Create and add two images for the flyout buttons of 16 x 16 and 32 ...

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.