Renaming Lead Forms Ribbon Button "Reactivate Lead " To "ReActivate Job Dockets"
Steps:
1) Create a solution , add the lead entity to solution and export the soltuion.
2)Check the Button ids and sequence number from LeadRibbon (ie sdk/samplecode/cs/client/ribbonxml/bin/debug/exportribbonxml/leadribbon)
3)Extract the Exported file and open Customization.xml file in any xml editors
4)Search <RibbonDiffXml> under this <CustomActions> paste the code...
<RibbonDiffXml>
<CustomActions>
<CustomAction Id="Mscrm.Form.lead.ReactivateLead.CustomAction" Location="Mscrm.Form.lead.MainTab.Actions.Controls._children" Sequence="6">
<CommandUIDefinition>
<Button Alt="$Resources:Ribbon.Form.opportunity.MainTab.Actions.Reactivate"
Command="Mscrm.Form.lead.Reactivate" Id="Mscrm.Form.lead.ReactivateLead"
Image32by32="/_imgs/ribbon/ReactivateLead_32.png"
Image16by16="/_imgs/ribbon/ReactivateLead_16.png"
LabelText="$LocLabels:Mscrm.Form.lead.ReactivateLead.LabelText"
Sequence="6" TemplateAlias="o1" ToolTipTitle="$LocLabels:Mscrm.Form.lead.ReactivateLead.ToolTipTitle"
ToolTipDescription="$LocLabels:Mscrm.Form.lead.ReactivateLead.ToolTipDescription" />
</CommandUIDefinition>
</CustomAction>
</CustomActions>
<Templates>
<RibbonTemplates Id="Mscrm.Templates" />
</Templates>
<CommandDefinitions />
<RuleDefinitions>
<TabDisplayRules />
<DisplayRules />
<EnableRules />
</RuleDefinitions>
<LocLabels>
<LocLabel Id="Mscrm.Form.lead.ReactivateLead.LabelText">
<Titles>
<Title description="ReActivate Job Dockets" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Form.lead.ReactivateLead.ToolTipTitle">
<Titles>
<Title description="ReActivate Job Dockets" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Form.lead.ReactivateLead.ToolTipDescription">
<Titles>
<Title description="ReActivate this lead to make it active and continue working on it." languagecode="1033" />
</Titles>
</LocLabel>
</LocLabels>
</RibbonDiffXml>
Steps:
1) Create a solution , add the lead entity to solution and export the soltuion.
2)Check the Button ids and sequence number from LeadRibbon (ie sdk/samplecode/cs/client/ribbonxml/bin/debug/exportribbonxml/leadribbon)
3)Extract the Exported file and open Customization.xml file in any xml editors
4)Search <RibbonDiffXml> under this <CustomActions> paste the code...
<RibbonDiffXml>
<CustomActions>
<CustomAction Id="Mscrm.Form.lead.ReactivateLead.CustomAction" Location="Mscrm.Form.lead.MainTab.Actions.Controls._children" Sequence="6">
<CommandUIDefinition>
<Button Alt="$Resources:Ribbon.Form.opportunity.MainTab.Actions.Reactivate"
Command="Mscrm.Form.lead.Reactivate" Id="Mscrm.Form.lead.ReactivateLead"
Image32by32="/_imgs/ribbon/ReactivateLead_32.png"
Image16by16="/_imgs/ribbon/ReactivateLead_16.png"
LabelText="$LocLabels:Mscrm.Form.lead.ReactivateLead.LabelText"
Sequence="6" TemplateAlias="o1" ToolTipTitle="$LocLabels:Mscrm.Form.lead.ReactivateLead.ToolTipTitle"
ToolTipDescription="$LocLabels:Mscrm.Form.lead.ReactivateLead.ToolTipDescription" />
</CommandUIDefinition>
</CustomAction>
</CustomActions>
<Templates>
<RibbonTemplates Id="Mscrm.Templates" />
</Templates>
<CommandDefinitions />
<RuleDefinitions>
<TabDisplayRules />
<DisplayRules />
<EnableRules />
</RuleDefinitions>
<LocLabels>
<LocLabel Id="Mscrm.Form.lead.ReactivateLead.LabelText">
<Titles>
<Title description="ReActivate Job Dockets" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Form.lead.ReactivateLead.ToolTipTitle">
<Titles>
<Title description="ReActivate Job Dockets" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Form.lead.ReactivateLead.ToolTipDescription">
<Titles>
<Title description="ReActivate this lead to make it active and continue working on it." languagecode="1033" />
</Titles>
</LocLabel>
</LocLabels>
</RibbonDiffXml>