troubleshooting Question

Adding a button to CRM 2011 ribbon

Avatar of lweekly
lweekly asked on
Microsoft Dynamics
5 Comments1 Solution3534 ViewsLast Modified:
I have been laboring to add a button to the Contact Add tab for sending a text message.  I have a small icon that appears under Other Activities that works, but our users would like a large button just to the right of the E-Mail button.
All of the webresources exist and function from the original menu item.
I would greatly appreciate anyone that can spot what I am doing wrong and let me know.
Here's my RibbonDiffXml section, followed by the errors from the Error Log.
        <CustomActions >
          <CustomAction Id=""
              <Button Id=""
              Image32by32="$webresource:new_TextIcon32.png" />
          <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
          <CommandDefinition Id="">
              <EnableRule Id="" />
              <EnableRule Id=""/>
              <DisplayRule Id="" />
              <DisplayRule Id="" />
              <JavaScriptFunction Library="$webresource:new_SendTextMessage.js"
              FunctionName="send" />
          <TabDisplayRules />
            <DisplayRule Id="">
              <FormStateRule State="Create" InvertResult="true" />
            <EnableRule Id="">
              <CrmClientTypeRule Type="Web" />
            <EnableRule Id="">
              <FormStateRule State="Create" InvertResult="true" />
          <LocLabel Id="">
              <Title languagecode="1033" description="Send Text Message" />
          <LocLabel Id="">
              <Title languagecode="1033" description="Send Text Message to this Contact" />
Error Log Items:
The ribbon item '' is dependent on <DisplayRule Id="" />.
The ribbon item '' is dependent on Web resource id='new_SendTextMessage.js'.
The ribbon item '' is dependent on <LocLabel Id="" />.
The ribbon item '' is dependent on Web resource id='new_TextIcon16.png'.
The ribbon item '' is dependent on Web resource id='new_TextIcon32.png'.
The ribbon item '' is dependent on <DisplayRule Id="" />.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros