【发布时间】:2020-10-01 09:23:23
【问题描述】:
我的插件按预期在 Outlook Web 客户端中运行,但未在 Outlook 365 Windows 客户端中显示(功能区按钮未出现)。
我仔细检查了清单,它在 Outlook 客户端中的另一个租户上按预期工作(只有不同的 url,Outlook 版本 2009 - 较新,因为在预览频道中)但在另一个(Outlook 版本 1908 半年度频道)中没有。插件已激活并在 Web 客户端中加载,但在 Windows 客户端中没有。
清单(更改名称、网址和 guid)
<?xml version="1.0" encoding="UTF-8"?>
<!-- Example + Schema: https://docs.microsoft.com/en-us/office/dev/add-ins/develop/add-in-manifests?tabs=tabid-3#manifest-v11-xml-file-examples-and-schemas -->
<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.1"
xsi:type="MailApp">
<Id>BDE022E4-6241-433F-2222-1BC250CE1E27</Id>
<Version>3.3.0.0</Version>
<ProviderName>Name</ProviderName>
<DefaultLocale>de-DE</DefaultLocale>
<!-- The display name of your add-in. Used on the store and various places of the Office UI such as the add-ins dialog. -->
<DisplayName DefaultValue="AddinName" />
<Description DefaultValue="Name AddinName Add-in"/>
<IconUrl DefaultValue="https://url/OutlookAddin/assets/HT_Icons_DMS.png" />
<HighResolutionIconUrl DefaultValue="https://url/OutlookAddin/assets/HT_Icons_DMS.png" />
<SupportUrl DefaultValue="https://name.de/support" />
<!-- Domains that will be allowed when navigating. For example, if you use ShowTaskpane and then have an href link, navigation will only be allowed if the domain is on this list. -->
<AppDomains>
<AppDomain>https://url</AppDomain>
</AppDomains>
<!--End Basic Settings. -->
<Hosts>
<Host Name="Mailbox" />
</Hosts>
<Requirements>
<Sets>
<Set Name="Mailbox" MinVersion="1.1" />
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<SourceLocation DefaultValue="https://url/OutlookAddin/index.html"/>
<RequestedHeight>250</RequestedHeight>
</DesktopSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteItem</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
</Rule>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<Requirements>
<bt:Sets DefaultMinVersion="1.3">
<bt:Set Name="Mailbox" />
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<!-- Location of the Functions that UI-less buttons can trigger (ExecuteFunction Actions). -->
<FunctionFile resid="functionFile" />
<!-- Message Read -->
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<!-- Use the default tab of the ExtensionPoint or create your own with <CustomTab id="myTab"> -->
<OfficeTab id="TabDefault">
<!-- Up to 6 Groups added per Tab -->
<Group id="msgReadGroup">
<Label resid="readGroupLabel" />
<!-- Launch the add-in : task pane button -->
<Control xsi:type="Button" id="msgReadOpenPaneButton">
<Label resid="paneReadButtonLabel" />
<Supertip>
<Title resid="paneReadSuperTipTitle" />
<Description resid="paneReadSuperTipDescription" />
</Supertip>
<Icon>
<bt:Image size="16" resid="readicon16" />
<bt:Image size="32" resid="readicon32" />
<bt:Image size="80" resid="readicon80" />
<bt:Image size="96" resid="readicon96" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="messageReadTaskPaneUrl" />
</Action>
</Control>
<!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
</Group>
</OfficeTab>
</ExtensionPoint>
<!-- Message compose form -->
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
<OfficeTab id="TabDefault">
<Group id="msgComposeGroup">
<Label resid="composeGroupLabel" />
<!-- Task pane button -->
<Control xsi:type="Button" id="msgComposeOpenPaneButton">
<Label resid="paneComposeButtonLabel" />
<Supertip>
<Title resid="paneComposeSuperTipTitle" />
<Description resid="paneComposeSuperTipDescription" />
</Supertip>
<Icon>
<bt:Image size="16" resid="composeicon16" />
<bt:Image size="32" resid="composeicon32" />
<bt:Image size="80" resid="composeicon80" />
<bt:Image size="96" resid="composeicon96" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="composeTaskPaneUrl" />
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<!-- Go to http://aka.ms/ExtensionPointsCommands to learn how to add more Extension Points: MessageRead, AppointmentOrganizer, AppointmentAttendee -->
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="readicon16" DefaultValue="https://url/OutlookAddin/assets/readicon-16.png"/>
<bt:Image id="readicon32" DefaultValue="https://url/OutlookAddin/assets/readicon-32.png"/>
<bt:Image id="readicon80" DefaultValue="https://url/OutlookAddin/assets/readicon-80.png"/>
<bt:Image id="readicon96" DefaultValue="https://url/OutlookAddin/assets/readicon-96.png"/>
<bt:Image id="composeicon16" DefaultValue="https://url/OutlookAddin/assets/composeicon-16.png"/>
<bt:Image id="composeicon32" DefaultValue="https://url/OutlookAddin/assets/composeicon-32.png"/>
<bt:Image id="composeicon80" DefaultValue="https://url/OutlookAddin/assets/composeicon-80.png"/>
<bt:Image id="composeicon96" DefaultValue="https://url/OutlookAddin/assets/composeicon-96.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="functionFile" DefaultValue="https://url/OutlookAddin/function-file/function-file.html"/>
<bt:Url id="messageReadTaskPaneUrl" DefaultValue="https://url/OutlookAddin/index.html?mode=read"/>
<bt:Url id="composeTaskPaneUrl" DefaultValue="https://url/OutlookAddin/index.html?mode=compose"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="readGroupLabel" DefaultValue="AddinName"/>
<bt:String id="paneReadButtonLabel" DefaultValue="Hochladen"/>
<bt:String id="paneReadSuperTipTitle" DefaultValue="AddinName"/>
<bt:String id="composeGroupLabel" DefaultValue="AddinName"/>
<bt:String id="paneComposeButtonLabel" DefaultValue="Attachment anfügen"/>
<bt:String id="paneComposeSuperTipTitle" DefaultValue="AddinName"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="paneReadSuperTipDescription" DefaultValue="Name AddinName Add-in"/>
<bt:String id="paneComposeSuperTipDescription" DefaultValue="Name AddinName Add-in"/>
</bt:LongStrings>
</Resources>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
<Requirements>
<bt:Sets DefaultMinVersion="1.3">
<bt:Set Name="Mailbox" />
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<!-- Location of the Functions that UI-less buttons can trigger (ExecuteFunction Actions). -->
<FunctionFile resid="functionFile" />
<!-- Message Read -->
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<!-- Use the default tab of the ExtensionPoint or create your own with <CustomTab id="myTab"> -->
<OfficeTab id="TabDefault">
<!-- Up to 6 Groups added per Tab -->
<Group id="msgReadGroup">
<Label resid="readGroupLabel" />
<!-- Launch the add-in : task pane button -->
<Control xsi:type="Button" id="msgReadOpenPaneButton">
<Label resid="paneReadButtonLabel" />
<Supertip>
<Title resid="paneReadSuperTipTitle" />
<Description resid="paneReadSuperTipDescription" />
</Supertip>
<Icon>
<bt:Image size="16" resid="readicon16" />
<bt:Image size="32" resid="readicon32" />
<bt:Image size="80" resid="readicon80" />
<bt:Image size="96" resid="readicon96" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="messageReadTaskPaneUrl" />
<SupportsPinning>true</SupportsPinning>
</Action>
</Control>
<!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
</Group>
</OfficeTab>
</ExtensionPoint>
<!-- Message compose form -->
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
<OfficeTab id="TabDefault">
<Group id="msgComposeGroup">
<Label resid="composeGroupLabel" />
<!-- Task pane button -->
<Control xsi:type="Button" id="msgComposeOpenPaneButton">
<Label resid="paneComposeButtonLabel" />
<Supertip>
<Title resid="paneComposeSuperTipTitle" />
<Description resid="paneComposeSuperTipDescription" />
</Supertip>
<Icon>
<bt:Image size="16" resid="composeicon16" />
<bt:Image size="32" resid="composeicon32" />
<bt:Image size="80" resid="composeicon80" />
<bt:Image size="96" resid="composeicon96" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="composeTaskPaneUrl" />
<SupportsPinning>true</SupportsPinning>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<!-- Go to http://aka.ms/ExtensionPointsCommands to learn how to add more Extension Points: MessageRead, AppointmentOrganizer, AppointmentAttendee -->
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="readicon16" DefaultValue="https://url/OutlookAddin/assets/readicon-16.png"/>
<bt:Image id="readicon32" DefaultValue="https://url/OutlookAddin/assets/readicon-32.png"/>
<bt:Image id="readicon80" DefaultValue="https://url/OutlookAddin/assets/readicon-80.png"/>
<bt:Image id="readicon96" DefaultValue="https://url/OutlookAddin/assets/readicon-96.png"/>
<bt:Image id="composeicon16" DefaultValue="https://url/OutlookAddin/assets/composeicon-16.png"/>
<bt:Image id="composeicon32" DefaultValue="https://url/OutlookAddin/assets/composeicon-32.png"/>
<bt:Image id="composeicon80" DefaultValue="https://url/OutlookAddin/assets/composeicon-80.png"/>
<bt:Image id="composeicon96" DefaultValue="https://url/OutlookAddin/assets/composeicon-96.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="functionFile" DefaultValue="https://url/OutlookAddin/function-file/function-file.html"/>
<bt:Url id="messageReadTaskPaneUrl" DefaultValue="https://url/OutlookAddin/index.html?mode=read"/>
<bt:Url id="composeTaskPaneUrl" DefaultValue="https://url/OutlookAddin/index.html?mode=compose"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="readGroupLabel" DefaultValue="AddinName"/>
<bt:String id="paneReadButtonLabel" DefaultValue="Hochladen"/>
<bt:String id="paneReadSuperTipTitle" DefaultValue="AddinName"/>
<bt:String id="composeGroupLabel" DefaultValue="AddinName"/>
<bt:String id="paneComposeButtonLabel" DefaultValue="Attachment anfügen"/>
<bt:String id="paneComposeSuperTipTitle" DefaultValue="AddinName"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="paneReadSuperTipDescription" DefaultValue="Name AddinName Add-in"/>
<bt:String id="paneComposeSuperTipDescription" DefaultValue="Name AddinName Add-in"/>
</bt:LongStrings>
</Resources>
</VersionOverrides>
</VersionOverrides>
</OfficeApp>
可能是什么问题?如何解决正在发生的事情?微软明显的故障排除文章没有帮助。
编辑:OnPremise Exchange 2016,插件与 Windows 上的其他版本的 Outlook(非 365 版本)一起使用
【问题讨论】:
-
需要检查的几件事,您知道此清单是否适用于 Outlook 版本 1908 上的其他租户?其他插件是否适用于此租户? “获取加载项”按钮是否可用? (最后2可能指向插件被隐私设置阻止)这个租户是通过集中部署部署的还是由个人用户安装的?
-
忘了提及:这是一个带有 Outlook 365 客户端(集中部署)的 Exchange 2016 本地服务器。获取加载项按钮是灰色的。您所说的隐私设置是什么意思,为什么这与 Web 客户端不同?该插件以前在此环境中工作,但使用非 O365 版本的 Outlook
-
我错过了隐私设置的链接。更多信息在这里docs.microsoft.com/en-us/deployoffice/privacy/… 和support.microsoft.com/en-us/office/… Office 客户端可以独立于 Web 客户端进行配置。要确认这是否相关,请尝试启用可选连接服务。了解其他插件在 Outlook 中是否适用于此租户也很有用。
标签: outlook-addin outlook-web-addins