Solved

Dynamics CRM 2011 Custom Ribbon Button Problem

Posted on 2011-03-12
3
2,556 Views
Last Modified: 2012-05-11
I'm attempting to add a custom button to the ribbon of a custom entity named "cgizmo_donation". I've created a new solution, exported it, and edited the customizations.xml file, but the button is not showing up anywhere. It's possible I have the sequence wrong, but I don't know how to find the correct variable for the sequence for this custom entity. Any help would be greatly appreciated.
<RibbonDiffXml>
        <CustomActions>
          <CustomAction Id="cgizmo_Recalculate" Location="Mscrm.Form.cgizmo_donation.MainTab.Save.Controls._children" Sequence="31">
            <CommandUIDefinition>
              <Button Id="cgizmo_Recalculate" Command="ReCalculate" LabelText="Recalculate" ToolTipTitle="Recalculate Totals" ToolTipDescription="Get In-Kind Contributions and recalculate totals" TemplateAlias="01" Image16by16="$webresource:cgizmo_icon_recalculate_16x16.png" Image32by32="$webresource:cgizmo_icon_recalculate_32x32.png" />
            </CommandUIDefinition>
          </CustomAction>
        </CustomActions>
        <Templates>
          <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
        </Templates>
        <CommandDefinitions>
          <CommandDefinition Id="ReCalculate">
            <EnableRules>
              <EnableRule Id="Mscrm.Enabled" />
            </EnableRules>
            <DisplayRules />
            <Actions>
              <JavaScriptFunction Library="$webresource:cgizmo_donation" FunctionName="recalculate" />
            </Actions>
          </CommandDefinition>
        </CommandDefinitions>
        <RuleDefinitions>
          <TabDisplayRules />
          <DisplayRules />
          <EnableRules />
        </RuleDefinitions>
        <LocLabels />
      </RibbonDiffXml>

Open in new window

0
Comment
Question by:savetheorcas
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 500 total points
ID: 35126965
Hi savetheorcas,

Try using sequence id 80 also are you able to import and publish the customization?

Regards,
Chinmay
0
 

Author Comment

by:savetheorcas
ID: 35167168
I figured out the problem, I had TemplateAlias="01" when it should have been TemplateAlias="o1"
0
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 35168236
:( Really feeling bad that I could not point you to the right direction, I did notice it and still didn't think that it could be the issue and according to expert's exchange rules you can not assign points to me for a solution where I did not provide the answer.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now