Dynamics crm 返回添加CRM 2013工作流按钮

Dynamics crm 返回添加CRM 2013工作流按钮,dynamics-crm,dynamics-crm-2011,dynamics-crm-2013,crm-ribbon-workbench,Dynamics Crm,Dynamics Crm 2011,Dynamics Crm 2013,Crm Ribbon Workbench,我正在研究一个CRM 2013解决方案,该解决方案是从以前的CMR 2011版本更新而来的。已删除运行工作流和对话框按钮。我尝试使用功能区编辑器将它们添加回,但它们没有从UI显示出来。我尝试了IIS重置和删除IE历史记录。下面是customizations.XML中的XML <RibbonDiffXml> <CustomActions> <CustomAction Id="new.rdl_project.Button1.Button.Custom

我正在研究一个CRM 2013解决方案,该解决方案是从以前的CMR 2011版本更新而来的。已删除运行工作流和对话框按钮。我尝试使用功能区编辑器将它们添加回,但它们没有从UI显示出来。我尝试了IIS重置和删除IE历史记录。下面是customizations.XML中的XML

<RibbonDiffXml>
    <CustomActions>
      <CustomAction Id="new.rdl_project.Button1.Button.CustomAction" Location="Mscrm.HomepageGrid.rdl_project.MainTab.Workflow.Controls._children" Sequence="10">
        <CommandUIDefinition>
          <Button Alt="$LocLabels:new.rdl_project.Button1.Button.Alt" Command="Mscrm.RunWorkflowSelected" Id="new.rdl_project.Button1.Button" Image32by32="/_imgs/ribbon/runworkflow32.png" Image16by16="/_imgs/ribbon/StartWorkflow_16.png" LabelText="$LocLabels:new.rdl_project.Button1.Button.LabelText" Sequence="10" TemplateAlias="o1" ToolTipTitle="$LocLabels:new.rdl_project.Button1.Button.ToolTipTitle" ToolTipDescription="$LocLabels:new.rdl_project.Button1.Button.ToolTipDescription" />
        </CommandUIDefinition>
      </CustomAction>
      <CustomAction Id="new.rdl_project.Button2.Button.CustomAction" Location="Mscrm.Form.rdl_project.Related.Activities.Controls._children" Sequence="40">
        <CommandUIDefinition>
          <Button Alt="$LocLabels:new.rdl_project.Button2.Button.Alt" Command="Mscrm.RunWorkflowSelected" Id="new.rdl_project.Button2.Button" Image32by32="/_imgs/ribbon/runworkflow32.png" Image16by16="/_imgs/ribbon/StartWorkflow_16.png" LabelText="$LocLabels:new.rdl_project.Button2.Button.LabelText" Sequence="40" TemplateAlias="o1" ToolTipTitle="$LocLabels:new.rdl_project.Button2.Button.ToolTipTitle" ToolTipDescription="$LocLabels:new.rdl_project.Button2.Button.ToolTipDescription" />
        </CommandUIDefinition>
      </CustomAction>
    </CustomActions>
    <Templates>
      <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
    </Templates>
    <CommandDefinitions />
    <RuleDefinitions>
      <TabDisplayRules />
      <DisplayRules />
      <EnableRules />
    </RuleDefinitions>
    <LocLabels>
      <LocLabel Id="new.rdl_project.Button1.Button.Alt">
        <Titles>
          <Title description="Run Workflow" languagecode="1033" />
        </Titles>
      </LocLabel>
      <LocLabel Id="new.rdl_project.Button1.Button.LabelText">
        <Titles>
          <Title description="Run Workflow" languagecode="1033" />
        </Titles>
      </LocLabel>
      <LocLabel Id="new.rdl_project.Button1.Button.ToolTipDescription">
        <Titles>
          <Title description="Run a workflow for this {0}. &lt;br&gt;&lt;br&gt;View the status of workflows in the Workflow tab of this record." languagecode="1033" />
        </Titles>
      </LocLabel>
      <LocLabel Id="new.rdl_project.Button1.Button.ToolTipTitle">
        <Titles>
          <Title description="Run Workflow" languagecode="1033" />
        </Titles>
      </LocLabel>
      <LocLabel Id="new.rdl_project.Button2.Button.Alt">
        <Titles>
          <Title description="Run Workflow" languagecode="1033" />
        </Titles>
      </LocLabel>
      <LocLabel Id="new.rdl_project.Button2.Button.LabelText">
        <Titles>
          <Title description="Run Workflow" languagecode="1033" />
        </Titles>
      </LocLabel>
      <LocLabel Id="new.rdl_project.Button2.Button.ToolTipDescription">
        <Titles>
          <Title description="Run a workflow for this {0}. &lt;br&gt;&lt;br&gt;View the status of workflows in the Workflow tab of this record." languagecode="1033" />
        </Titles>
      </LocLabel>
      <LocLabel Id="new.rdl_project.Button2.Button.ToolTipTitle">
        <Titles>
          <Title description="Run Workflow" languagecode="1033" />
        </Titles>
      </LocLabel>
    </LocLabels>
  </RibbonDiffXml>

我个人避免完全删除任何系统按钮。我认为更好的办法就是把它们藏起来。使用Visual Ribbon Editor甚至不可能完全删除它们。我假设您已经在某个时候手动修改了RibbonDiffXml删除了它们,现在您正试图使用VisualRibbonEditor(或RibbonWorkbench)恢复它们

在这种情况下,我会去下载Microsoft Dynamics CRM 2013 SDK。SDK中有一个Resources\ExportedRibbonXml文件夹,其中包含CRM 2013附带的所有系统实体的RibbonDiffXml定义。也许你可以按照你喜欢的方式从那里复制定义