Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Dynamics CRM 2011 Custom Ribbon Button Problem

Posted on 2011-03-12
3
Medium Priority
?
2,566 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

This is a walkthrough guide I wrote whilst upgrading my on-premise MS Dynamics CRM 3.0 deployment to 4.0. This covers the actual installation of the product to a working level for my system, I ran into a lot of issues that the steps below fixed so h…
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part II
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

618 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