CRM 2013 - command bar not visible on entity form in Outlook client after customizing the ribbon xml RRS feed

  • Question

  • Hi,

    We've customized the ribbon xml for the Opportunity form in a CRM 2013 online org. It hides/shows the "Close as Won" button based on the value returned within some javascript form onload function.  Our solution works great from IE, but when an Opportunity is opened with the CRM Outlook client (we tried several versions), the command bar on the form does not appear. One thing we noticed is that if we manually make a change on the form and then save, the command bar then appears.

    We've made similar customizations for customers in CRM 2011 without issues.  Is there a different approach to making this work in CRM 2013?  Below are the ribbon xml changes we made on the Opportunity entity.  Any help would be greatly appreciated!


            <CustomActions />


              <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>



              <CommandDefinition Id="Mscrm.Form.opportunity.MarkAsWon">


                  <EnableRule Id="disablebuttons" />



                  <DisplayRule Id="Mscrm.CanWriteOpportunity" />



                  <JavaScriptFunction FunctionName="Mscrm.CommandBarActions.opportunityClose" Library="/_static/_common/scripts/CommandBarActions.js">

                <BoolParameter Value="true" />






              <TabDisplayRules />

              <DisplayRules />


                <EnableRule Id="disablebuttons">

                  <CustomRule Library="$webresource:new_MyScript" FunctionName="MyFunction" Default="false"></CustomRule>




            <LocLabels />


    Monday, May 5, 2014 9:45 PM