The Microsoft Business Applications Practice at HCLTech is thrilled to be at HIMSS23 in April. That’s right, we’re back in person and excited to be one of the select partners to share a booth with Microsoft.
As CRM Superheroes, we are often asked to conquer the impossible. Some tasks are difficult and some are easy as rescuing a dog from a burning building with your hands tied behind your back. Here we have a Microsoft Dynamics CRM "how-to" to make you look like a superhero in your organization: How to Hide a Ribbon Button in CRM 2011.
Prerequisite: Microsoft Dynamics CRM 2011 SDK
In this example we will hide the Assign Button in the lead entity form.
This should be the new result when you create a new lead entity:
So, there you have it--how to hide a ribbon button in CRM 2011. Hope this helps you and your organization work more efficiently. Are there other "how-to's" you would like answer? User the comments to let us know.
Great article! How would you do to hide a ribbon button based on a certain criteria? Let's say I would like to hide button for "create child record" if there already exists a child record. How would you do that?
CustomActions> is a typo I think.
Secondly, how exactly do you do this:
Create a solution with the lead entity , add to the soultion Application Ribbons from the Client Extensions tab
What I have done is the following: Create a solution, add the Activity object and Application Ribbons from the Client Extensions to it, saved and exported the solution, HideCustomAction to the right place but still on import I get an error saying Sample.HomepageGrid.activitypointer.RunReport.HideAction is depending on Mscrm.HomepageGrid.activitypointer.RunReport.
Figured it out, the HideAction has to be under the corresponding entity trees customactions. Somehow i added it to the last occurence of customactions instead 🙂
what my project requires is to hide group of buttons in the ribbon once a subgrid in the lead form is clicked. any help on this please.
You can create a rule and then have a java script that set it to true or false under the
or using the
Hope this helps! Happy CRM'ing.
I would like to hide the entire ribbon,using java script, which consists of the save n other options on form load.
Can anyone please help me out in this issue.
You could use VisualRibbonEditor
How to Remove the Campaign Response Ribbon?
The Highlighted Ribbon.
Cant find the button id location
It was pretty simple solution. From "rescuing a dog from a burning building with your hands tied behind your back" I though you might be going to explain how to remove 'Share' button from 'Application Ribbon'. But just for 'Imports'. 'Share' button should not be removed for Reports, Articles, Queues etc.