我已经创建了Outlook加载项(在撰写电子邮件窗口中打开),并在manifest.xml中指定了displaName和iconUrl,如下所示:
<DisplayName DefaultValue="My Office Addin" />
<IconUrl DefaultValue="https://localhost:3000/assets/sample.png" />
在下面的图像(1. OptionMenu和2. Sidepane)中反映图标和名称。
我对此有几个疑问:
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>
答案 0 :(得分:3)
当前,这些功能(自定义任务窗格标题和设置图标的可见性)不适用于加载项。我们在用户语音页面上跟踪Outlook加载项功能请求。请在此处添加您的请求。当我们进行规划过程时,会考虑用户语音上的功能请求。
https://officespdev.uservoice.com/forums/224641-general/category/131778-outlook-add-ins
答案 1 :(得分:2)