web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Add Mail Merge Button in Ribbon in Command Bar Homepage MS CRM 2015 Online

(0) ShareShare
ReportReport
Posted on by

Hello All,

I need to add mail merge button in ribbon in Home page for contact Entity.I added through Ribbon Workbench.But it is not working.

It is working in Form Page

can you help on this.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    PS Profile Picture
    23,577 on at

    You can export the customization.xml and make changes there, it will work

  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    You need to use 'Customise Command' on the existing Ribbon Mail merge button and remove the 'HideOnCommandBar' display rule from the Mscrm.MailMergeSelected Command - see my 'how-to'  develop1.net/.../How-to-restore-a-hidden-button-on-the-CRM-2013-Command-Bar.aspx

    If you did want to do it using just xml - here it is!

    <?xml version="1.0" encoding="utf-16"?>

    <RibbonDiffXml xmlns:xsi="www.w3.org/.../XMLSchema-instance&quot; xmlns:xsd="www.w3.org/.../XMLSchema&quot;>

     <CustomActions />

     <Templates>

       <RibbonTemplates Id="Mscrm.Templates" />

     </Templates>

     <CommandDefinitions>

       <CommandDefinition Id="Mscrm.MailMergeSelected">

         <EnableRules>

           <EnableRule Id="Mscrm.SelectionCountAtLeastOne" />

           <EnableRule Id="Mscrm.VisualizationPaneNotMaximized" />

           <EnableRule Id="Mscrm.IsNotIos" />

         </EnableRules>

         <DisplayRules>

           <DisplayRule Id="Mscrm.MailMergeSelected" />

         </DisplayRules>

         <Actions>

           <JavaScriptFunction FunctionName="Mscrm.GridRibbonActions.webMailMerge" Library="/_static/_common/scripts/RibbonActions.js">

             <CrmParameter Value="SelectedControl" />

             <CrmParameter Value="SelectedControlSelectedItemIds" />

             <CrmParameter Value="SelectedEntityTypeCode" />

             <CrmParameter Value="SelectedControlAllItemCount" />

           </JavaScriptFunction>

         </Actions>

       </CommandDefinition>

     </CommandDefinitions>

     <RuleDefinitions>

       <TabDisplayRules />

       <DisplayRules />

       <EnableRules />

     </RuleDefinitions>

     <LocLabels />

    </RibbonDiffXml>

  • Community Member Profile Picture
    on at

    Hi scott,

    Thanks for your response.

    I tried like this we can able to see the button on home page.but nothing is happening when i click the button.

    I have done exactly what u suggested

  • Matthew Martin Profile Picture
    55 on at

    The reply seems to be for a grid. (I would use ribbon workbench, but it does not work anymore and throws an unspecified error on opening.)  What's the XML for the Contact form?

  • Community Member Profile Picture
    on at

    Try XRM Toolbox. It's free and has an easy to use Site Editor tool for customising the ribbon. 

  • Matthew Martin Profile Picture
    55 on at

    XRM Toolbox has some interesting tools, but I cannot see anything that allows me to add back the mail merge button (I could has missed it.)

    Thanks anyway.

  • ScottDurow Profile Picture
    21 on at

    If you are getting an error when opening the Ribbon Workbench - try opening it via the solution window rather than clicking on the button. There seems to be an issue with CRM2015 where the ServerUrl is not returned correctly for popup webresources.

    Hope this helps,

    Scott

  • Matthew Martin Profile Picture
    55 on at

    Thanks for that. I can get the ribbon workbench working from the solution.

    Cheers!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans