添加CRM 2013工作流按钮返回



我正在研究CRM 2013解决方案,该解决方案是从以前的CMR 2011版本更新的。"运行工作流"one_answers"对话框"按钮已被删除。我试图通过使用Ribbon编辑器将它们添加回来,但它们没有从UI显示。我尝试了IIS重置和删除IE历史记录。下面是customization . 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>

我个人避免完全删除任何系统按钮。我觉得更好的办法是把它们藏起来。使用可视化功能区编辑器,甚至不可能完全删除它们。我假设你已经删除了它们通过修改RibbonDiffXml手在某些时候虽然,现在你试图让他们回来使用可视化功能区编辑器(或功能区工作台)。

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

相关内容

  • 没有找到相关文章

最新更新