?
Solved

Dynamics CRM 2011 Custom Ribbon Button Problem

Posted on 2011-03-12
3
Medium Priority
?
2,563 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part II
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

764 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