locked
How To Rename 'Existing Lead Form Ribbon Button In MS CRM 2011 RRS feed

  • Question

  • Hi,

    I have one req to rename the lead form button , ie..  "Reactivate Lead " To "Acivate Lead" in mscrm 2011.

    How can do this please help me..

     


    Krishn Prasad Shetty
    Monday, January 9, 2012 12:44 PM

Answers

  • Hi Shetty,

    You need to follow the guide at http://msdn.microsoft.com/en-us/library/gg309639.aspx with some RibbonDiffXml along the lines of:

    <RibbonDiffXml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <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="Activate Lead" languagecode="1033" />
          </Titles>
        </LocLabel>
        <LocLabel Id="Mscrm.Form.lead.ReactivateLead.ToolTipTitle">
          <Titles>
            <Title description="Activate Lead" languagecode="1033" />
          </Titles>
        </LocLabel>
        <LocLabel Id="Mscrm.Form.lead.ReactivateLead.ToolTipDescription">
          <Titles>
            <Title description="Activate this lead to make it active and continue working on it." languagecode="1033" />
          </Titles>
        </LocLabel>
      </LocLabels>
    </RibbonDiffXml>
    


    hth,

    Scott


    www.develop1.net
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"
    Monday, January 9, 2012 1:56 PM
    Answerer

All replies

  • Hi Shetty,

    You need to follow the guide at http://msdn.microsoft.com/en-us/library/gg309639.aspx with some RibbonDiffXml along the lines of:

    <RibbonDiffXml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <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="Activate Lead" languagecode="1033" />
          </Titles>
        </LocLabel>
        <LocLabel Id="Mscrm.Form.lead.ReactivateLead.ToolTipTitle">
          <Titles>
            <Title description="Activate Lead" languagecode="1033" />
          </Titles>
        </LocLabel>
        <LocLabel Id="Mscrm.Form.lead.ReactivateLead.ToolTipDescription">
          <Titles>
            <Title description="Activate this lead to make it active and continue working on it." languagecode="1033" />
          </Titles>
        </LocLabel>
      </LocLabels>
    </RibbonDiffXml>
    


    hth,

    Scott


    www.develop1.net
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"
    Monday, January 9, 2012 1:56 PM
    Answerer
  • Hi,

    Please use the following tool to edit the sitemap

    SiteMap Editor for Microsoft Dynamics CRM 2011 helps developer and customizers to configure the Site Map in a graphical way.

    Download Link:  http://sitemapeditor.codeplex.com/ 


    Thanks & Regards, MS CRM Consultant, V.Surya.
    Monday, January 9, 2012 5:47 PM
    Answerer
  • Shetty,

    Please have a look at Pragma toolkit. Just figure out to rename the ribbon button of the Lead entity.

    Thanks.


    Software developer working on Asp.Net, C#, jQuery and Dynamics CRM
    Tuesday, January 10, 2012 1:19 AM