CRM2011 Add Button In Ribbon

Custom Single Button Add in Ribbon

  • Add that Entity in the Solution in which you want to add in Button.
  • Export the Solution and Paste this code under RibbonDiffXml section.
  • Here I add one button in Workflow section in riibon, if you want to add in collaborate section then just change in Location as MainTab.Collaborate.Controls
  • Here I use [ ] instead of < > So please Find and Replace.

          [CustomAction Id="MScrm.Form.[[Entity Name]].[[Buttonname]].CustomAction" Location="Mscrm.Form.[[Entity Name]].MainTab.Workflow.Controls._children" Sequence="47"]
              [Button Id="MScrm.Form.[[Entity Name]].[[Buttonname]].Button" LabelText="Credit Check" ToolTipTitle="Check the Credit" TemplateAlias="o1" Image16by16="/_imgs/SFA/AlignGoal_16.png" Image32by32="/_imgs/SFA/AlignGoal_32.png" /]

          [RibbonTemplates Id="Mscrm.Templates"][/RibbonTemplates]





Post a Comment