Microsoft Outlook加载项中的自定义任务窗格标题

问题描述 投票:0回答:2

我创建了Outlook加载项(在撰写电子邮件窗口中打开),并在manifest.xml中指定了displaName和iconUrl,如下所示:

<DisplayName DefaultValue="My Office Addin" />
<IconUrl DefaultValue="https://localhost:3000/assets/sample.png" />

[在下面的图像中反映出图标和名称(1. OptionMenu和2.侧窗格)。

Menu optionSidePane

我对此有几个问题:

1。是否有任何选项可以禁用或隐藏该图标和标题在侧窗格(第二张图片)中?

2。是否有任何选项可自定义侧窗格(第二个图像)的标题,例如在标题中设置背景图像或自定义字体?

我最近几天浏览了Microsoft文档,但没有找到解决方案。我是Microsoft加载项的新手。如果您对此有任何想法,请帮助我。这是我的manifest.xml文件:

<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" xsi:type="MailApp">
  <Id>1e4f9008-e850-4631-be7c-d36b05a23543</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>My Office Addin</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="My Office Addin" />
  <Description DefaultValue="My Office Addin Description" />
  <IconUrl DefaultValue="https://localhost:3000/assets/sample.png" />
  <HighResolutionIconUrl DefaultValue="https://localhost:3000/assets/sample.png" />
  <Hosts>
    <Host Name="Mailbox" />
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="Mailbox" />
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://localhost:3000/taskpane.html" />
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
      <TabletSettings>
        <!-- Change the following line to specify     -->
        <!-- the web server that hosts the HTML file. -->
        <SourceLocation DefaultValue=
          "https://localhost:3000/taskpane.html" />
        <RequestedHeight>216</RequestedHeight>
      </TabletSettings>
    </Form>
    <Form xsi:type="ItemEdit">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://localhost:3000/taskpane.html" />
      </DesktopSettings>
      <TabletSettings>
        <SourceLocation DefaultValue="https://localhost:3000/taskpane.html" />
      </TabletSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteItem</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
  </Rule>
  <DisableEntityHighlighting>false</DisableEntityHighlighting>
</OfficeApp>
outlook-addin office-js office-addins outlook-web-addins
2个回答
0
投票

答案为“否”和“否”。您将无能为力。该区域不可定制,并且每个客户端(应用程序)都实现其自己的方式来显示清单中的信息。

例如,Outlook for Web将显示加载项的名称和提供的图标...enter image description here

同时,用于Windows的Outlook Desktop将仅显示加载项的名称...enter image description here


0
投票

当前,这些功能(自定义任务窗格标题和设置图标的可见性)不适用于加载项。我们在“用户语音”页面上跟踪Outlook加载项功能请求。请在此处添加您的请求。当我们进行规划过程时,会考虑用户语音上的功能请求。

https://officespdev.uservoice.com/forums/224641-general/category/131778-outlook-add-ins

© www.soinside.com 2019 - 2024. All rights reserved.