How to customize Dashboard Ribbon in Dynamics CRM 2011

Goal:
To create a Custom Button in a Dashboard Ribbon in MS Dynamics CRM 2011

Step 1 : Go to Settings >> Solutions. Create a New Solution

Step 2 : Select Add Existing >> Application Ribbons to add into the solution.

Step 3 : Export the newly created solution. It will be exported in a form of  Zip file.

Step 4 : Unzip the Zip File

Step 5 : Open the customizations.xml in any XML editor may be with Visual Studio/Notepad

Step 6 : Go to Element
Step 7 : Write the following code under Element




//To get the Location, look into the applicationribbon.xml file in SDK and find the Group Id in
which you want to add the button

Step 8 : Define the Command definition to put the custom button into work.
Go to the Element and place the following code in it.









Step 9 : Put the following code in



Step 10 : Save the Customization file and Zip the Solution again

Step 11 : Import the solution back to the CRM application and Publish All the customization.

Step 12 : Refresh the browser to see the new custom button in the dashboard.

150 150 Burnignorance | Where Minds Meet And Sparks Fly!