Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Display Rule not on Test environment

$
0
0

We are facing a strange issue with dynamics CRM 2011.

I changed a display rule on the Email form on the development environment, exported the solution as managed, imported this solution to the Test environment, published it. But the display rule does not show up in the Test environment

The display rule is included in the solution package. Below you find an extract containing the ribbondiffxml.

Does anyone have a solution for this? 

<RibbonDiffXml>
        <CustomActions>
          <CustomAction Id="Company.Form.email.MainTab.Respond.LiveEditor.CustomAction" Location="Mscrm.Form.email.MainTab.Respond.Controls._children" Sequence="41">
            <CommandUIDefinition>
              <Button Id="Company.Form.email.MainTab.Respond.LiveEditor" Command="Company.Form.email.MainTab.Respond.LiveEditor.Command" Sequence="50" ToolTipTitle="$LocLabels:Company.Form.email.MainTab.Respond.LiveEditor.LabelText" LabelText="$LocLabels:Company.Form.email.MainTab.Respond.LiveEditor.LabelText" ToolTipDescription="$LocLabels:Company.Form.email.MainTab.Respond.LiveEditor.Description" TemplateAlias="o1" Image16by16="/_imgs/ribbon/replymail_16.png" Image32by32="/_imgs/ribbon/replymail_32.png" />
            </CommandUIDefinition>
          </CustomAction>
          <HideCustomAction Location="Mscrm.Form.email.Forward" HideActionId="CompanyMscrm.Form.email.Forward.HideAction" />
          <HideCustomAction Location="Mscrm.Form.email.Reply" HideActionId="CompanyMscrm.Form.email.Reply.HideAction" />
          <HideCustomAction Location="Mscrm.Form.email.ReplyAll" HideActionId="CompanyMscrm.Form.email.ReplyAll.HideAction" />
          <HideCustomAction HideActionId="Mscrm.Form.email.MainTab.Collaborate.HideAction" Location="Mscrm.Form.email.MainTab.Collaborate" Sequence="40" />
          <HideCustomAction HideActionId="Mscrm.Form.email.MainTab.Convert.HideAction" Location="Mscrm.Form.email.MainTab.Convert" Sequence="31" />
          <HideCustomAction HideActionId="Mscrm.Form.email.MainTab.ExportData.HideAction" Location="Mscrm.Form.email.MainTab.ExportData" Sequence="50" />
          <HideCustomAction HideActionId="Mscrm.Form.email.MainTab.Include.HideAction" Location="Mscrm.Form.email.MainTab.Include" Sequence="11" />
          <HideCustomAction HideActionId="Mscrm.Form.email.MainTab.Workflow.HideAction" Location="Mscrm.Form.email.MainTab.Workflow" Sequence="45" />
          <HideCustomAction HideActionId="Mscrm.Form.email.SaveAndNew.HideAction" Location="Mscrm.Form.email.SaveAndNew" Sequence="40" />
          <HideCustomAction HideActionId="Mscrm.Form.email.Send.HideAction" Location="Mscrm.Form.email.Send" Sequence="1" />
        </CustomActions>
        <Templates>
          <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
        </Templates>
        <CommandDefinitions>
          <CommandDefinition Id="Company.Form.email.MainTab.Respond.LiveEditor.Command">
            <EnableRules />
            <DisplayRules>
              <DisplayRule Id="Company.Form.email.MainTab.Respond.LiveEditor.Command.DisplayRule.ValueRule" />
            </DisplayRules>
            <Actions>
              <JavaScriptFunction FunctionName="ServiceAppointmentEmail.Functions.ReplyOnEmail" Library="$webresource:enc_Email" />
            </Actions>
          </CommandDefinition>
        </CommandDefinitions>
        <RuleDefinitions>
          <TabDisplayRules />
          <DisplayRules>
            <DisplayRule Id="Company.Form.email.MainTab.Respond.LiveEditor.Command.DisplayRule.ValueRule">
              <ValueRule Field="directioncode" Value="0" />
            </DisplayRule>
          </DisplayRules>
          <EnableRules />
        </RuleDefinitions>
        <LocLabels>
          <LocLabel Id="Company.Form.email.MainTab.Respond.LiveEditor.Description">
            <Titles>
              <Title languagecode="1033" description="Creates reply email with Live Editor" />
              <Title languagecode="1043" description="Creates reply email with Live Editor" />
            </Titles>
          </LocLabel>
          <LocLabel Id="Company.Form.email.MainTab.Respond.LiveEditor.LabelText">
            <Titles>
              <Title languagecode="1033" description="Reply with Live Editor" />
              <Title languagecode="1043" description="Reply with Live Editor" />
            </Titles>
          </LocLabel>
        </LocLabels>
      </RibbonDiffXml>


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>