在某些客户设置中,我们看到任务窗格类型为add in的问题-任务窗格的index.html目标在新的Internet Explorer浏览器窗口中打开,而不是在任务窗格中加载。
在浏览器中,office.js上下文不可用,因此-该应用程序无法加载。
这仅在当前的Windows桌面Outlook平台上发生,即使在最新的Office版本1908上也发生在Windows 10上
关于哪些Office / Internet设置或任何其他可能触发此问题的指针?
Manifest.xml内容:
<?xml version="1.0" encoding="UTF-8"?>
<!--Created:cb85b80c-f585-40ff-8bfc-12ff4d0e34a9-->
<OfficeApp 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"
xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xsi:type="MailApp">
<Id>12345678-b1a1-123a-bc1b-445f32946c75</Id>
<Version>1.0.0.0</Version>
<ProviderName>Provider Name</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DISPLAY_NAME DefaultValue="App Name"/>
<Description DefaultValue="App description"/>
<IconUrl DefaultValue="https://customer-pod.domain.com/images/osc_icon_80.png"/>
<HighResolutionIconUrl DefaultValue="https://customer-pod.domain.com/images/osc_icon_80.png"/>
<AppDomains>
<AppDomain>https://login.microsoftonline.com/</AppDomain>
</AppDomains>
<Hosts>
<Host Name="Mailbox"/>
</Hosts>
<Requirements>
<Sets>
<Set Name="MailBox" MinVersion="1.1"/>
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<SourceLocation DefaultValue="https://customer-pod.domain.com/index.html"/>
<RequestedHeight>250</RequestedHeight>
</DesktopSettings>
</Form>
<Form xsi:type="ItemEdit">
<DesktopSettings>
<SourceLocation DefaultValue="https://customer-pod.domain.com/index.html?rc_channel=COMPOSE"/>
</DesktopSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteItem</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit"/>
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit"/>
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Read"/>
</Rule>
<DisableEntityHighlighting>false</DisableEntityHighlighting>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides"
xsi:type="VersionOverridesV1_0">
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<FunctionFile resid="functionFile"/>
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<OfficeTab id="TabDefaultRead">
<Group id="oscReadGroup">
<Label resid="groupLabel"/>
<Tooltip resid="groupTooltip"/>
<Control xsi:type="Button" id="oscReadButton">
<Label resid="buttonLabel"/>
<Tooltip resid="buttonTooltip"/>
<Supertip>
<Title resid="superTipTitle"/>
<Description resid="superTipDescription"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="osc_icon_16x16"/>
<bt:Image size="32" resid="osc_icon_32x32"/>
<bt:Image size="80" resid="osc_icon_80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="residOscHomeUrl"/>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
<OfficeTab id="TabDefaultCompose">
<Group id="oscComposeGroup">
<Label resid="groupLabel"/>
<Tooltip resid="groupTooltip"/>
<Control xsi:type="Button" id="oscComposeButton">
<Label resid="buttonLabel"/>
<Tooltip resid="buttonTooltip"/>
<Supertip>
<Title resid="superTipTitle"/>
<Description resid="superTipDescription"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="osc_icon_16x16"/>
<bt:Image size="32" resid="osc_icon_32x32"/>
<bt:Image size="80" resid="osc_icon_80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="residOscHomeEditUrl"/>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<ExtensionPoint xsi:type="AppointmentAttendeeCommandSurface">
<OfficeTab id="TabDefaultApptRead">
<Group id="oscApptReadGroup">
<Label resid="groupLabel"/>
<Tooltip resid="groupTooltip"/>
<Control xsi:type="Button" id="oscApptReadButton">
<Label resid="buttonLabel"/>
<Tooltip resid="buttonTooltip"/>
<Supertip>
<Title resid="superTipTitle"/>
<Description resid="superTipDescription"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="osc_icon_16x16"/>
<bt:Image size="32" resid="osc_icon_32x32"/>
<bt:Image size="80" resid="osc_icon_80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="residOscHomeUrl"/>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
<OfficeTab id="TabDefaultApptCompose">
<Group id="oscApptComposeGroup">
<Label resid="groupLabel"/>
<Tooltip resid="groupTooltip"/>
<Control xsi:type="Button" id="oscApptComposeButton">
<Label resid="buttonLabel"/>
<Tooltip resid="buttonTooltip"/>
<Supertip>
<Title resid="superTipTitle"/>
<Description resid="superTipDescription"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="osc_icon_16x16"/>
<bt:Image size="32" resid="osc_icon_32x32"/>
<bt:Image size="80" resid="osc_icon_80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="residOscHomeEditUrl"/>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="osc_icon_16x16" DefaultValue="https://customer-pod.domain.com/css/images/osc_icon_16.png"/>
<bt:Image id="osc_icon_32x32" DefaultValue="https://customer-pod.domain.com/css/images/osc_icon_32.png"/>
<bt:Image id="osc_icon_80x80" DefaultValue="https://customer-pod.domain.com/css/images/osc_icon_80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="residOscHomeUrl" DefaultValue="https://customer-pod.domain.com/index.html"/>
<bt:Url id="residOscHomeEditUrl" DefaultValue="https://customer-pod.domain.com/index.html?rc_channel=COMPOSE"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="groupLabel" DefaultValue="App Name"/>
<bt:String id="buttonLabel" DefaultValue="App Name"/>
<bt:String id="superTipTitle" DefaultValue="Click this to launch the Application"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="groupTooltip" DefaultValue="App actions"/>
<bt:String id="buttonTooltip" DefaultValue="Launches Application"/>
<bt:String id="superTipDescription" DefaultValue="Launches Application"/>
</bt:LongStrings>
</Resources>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1"
xsi:type="VersionOverridesV1_1">
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<FunctionFile resid="functionFile"/>
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<OfficeTab id="TabDefaultRead">
<Group id="oscReadGroup">
<Label resid="groupLabel"/>
<Tooltip resid="groupTooltip"/>
<Control xsi:type="Button" id="oscReadButton">
<Label resid="buttonLabel"/>
<Tooltip resid="buttonTooltip"/>
<Supertip>
<Title resid="superTipTitle"/>
<Description resid="superTipDescription"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="osc_icon_16x16"/>
<bt:Image size="32" resid="osc_icon_32x32"/>
<bt:Image size="80" resid="osc_icon_80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="residOscHomeUrl"/>
<SupportsPinning>true</SupportsPinning>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
<OfficeTab id="TabDefaultCompose">
<Group id="oscComposeGroup">
<Label resid="groupLabel"/>
<Tooltip resid="groupTooltip"/>
<Control xsi:type="Button" id="oscComposeButton">
<Label resid="buttonLabel"/>
<Tooltip resid="buttonTooltip"/>
<Supertip>
<Title resid="superTipTitle"/>
<Description resid="superTipDescription"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="osc_icon_16x16"/>
<bt:Image size="32" resid="osc_icon_32x32"/>
<bt:Image size="80" resid="osc_icon_80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="residOscHomeEditUrl"/>
<SupportsPinning>true</SupportsPinning>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<ExtensionPoint xsi:type="AppointmentAttendeeCommandSurface">
<OfficeTab id="TabDefaultApptRead">
<Group id="oscApptReadGroup">
<Label resid="groupLabel"/>
<Tooltip resid="groupTooltip"/>
<Control xsi:type="Button" id="oscApptReadButton">
<Label resid="buttonLabel"/>
<Tooltip resid="buttonTooltip"/>
<Supertip>
<Title resid="superTipTitle"/>
<Description resid="superTipDescription"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="osc_icon_16x16"/>
<bt:Image size="32" resid="osc_icon_32x32"/>
<bt:Image size="80" resid="osc_icon_80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="residOscHomeUrl"/>
<SupportsPinning>true</SupportsPinning>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
<OfficeTab id="TabDefaultApptCompose">
<Group id="oscApptComposeGroup">
<Label resid="groupLabel"/>
<Tooltip resid="groupTooltip"/>
<Control xsi:type="Button" id="oscApptComposeButton">
<Label resid="buttonLabel"/>
<Tooltip resid="buttonTooltip"/>
<Supertip>
<Title resid="superTipTitle"/>
<Description resid="superTipDescription"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="osc_icon_16x16"/>
<bt:Image size="32" resid="osc_icon_32x32"/>
<bt:Image size="80" resid="osc_icon_80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="residOscHomeEditUrl"/>
<SupportsPinning>true</SupportsPinning>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="osc_icon_16x16"
DefaultValue="https://customer-pod.domain.com/css/images/osc_icon_16.png"/>
<bt:Image id="osc_icon_32x32"
DefaultValue="https://customer-pod.domain.com/css/images/osc_icon_32.png"/>
<bt:Image id="osc_icon_80x80"
DefaultValue="https://customer-pod.domain.com/css/images/osc_icon_80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="residOscHomeUrl"
DefaultValue="https://customer-pod.domain.com/index.html"/>
<bt:Url id="residOscHomeEditUrl"
DefaultValue="https://customer-pod.domain.com/index.html?rc_channel=COMPOSE"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="groupLabel" DefaultValue="App Name"/>
<bt:String id="buttonLabel" DefaultValue="App Name"/>
<bt:String id="superTipTitle" DefaultValue="Click this to launch Application"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="groupTooltip" DefaultValue="Application actions"/>
<bt:String id="buttonTooltip" DefaultValue="Launches Application"/>
<bt:String id="superTipDescription" DefaultValue="Launches Application"/>
</bt:LongStrings>
</Resources>
</VersionOverrides>
</VersionOverrides>
</OfficeApp>