Thursday, July 14, 2011

HOW to get the ribon xml from MS CRM 2011 and customize it to hide and show ribons

You can get all the entities RibbonXML using the exportribbonxml tool provided with SDK [sdk\samplecode\cs\client\ribbon].
Open the ribbonxml corresponding to your entity, identiy the command definition corresponding to the button you want to hide. Copy this code. Now export your entity in a solution, open the customizations file and add this commanddefinition under the commanddefinitions node of your entity. Add a new enable rule with the functionality you want.
for more please follow the MS link Customize the Ribbon for Microsoft Dynamics CRM

No comments:

Post a Comment