【发布时间】:2016-07-06 22:30:21
【问题描述】:
我们正在尝试向商店提交我们的第一个 Outlook 办公室插件,但由于 Outlook webaccess 2013 被拒绝。我们正在尝试使用 2013 年不应支持的 1.3 api,但验证团队仍在测试2013 年。
在此页面上,微软明确指出 OWA 2013 需要 1.1。 http://dev.office.com/reference/add-ins/outlook/tutorial-api-requirement-sets
验证团队的评论是: 您的加载项无法在 Windows 7 上使用 Internet Explorer 11 的 Outlook 2013 客户端中运行。用户无法向 Hogia 进行身份验证。认证到O365再认证到Hogia后,认证弹窗关闭,但是用户没有登录。
在 Fiddler 跟踪中不再看到 404 错误,但用户未登录到任务窗格,并且加载项不可用。
如果您因为使用仅在 2016/Online 中可用的 API 而不支持 2013 SP1,则必须将这些 API 放在清单中的需求标签中。如果您使用的不是仅在 2016/Online 中可用的 API,那么您必须支持 2013 SP1。
下面提供的是我们的匿名清单。关于如何将插件限制为仅 1.3 的任何想法。是不是也应该是 1.3 的 xml 命名空间?
<?xml version="1.0" encoding="utf-8"?>
<!-- For more information on using transformations
see the web.config examples at http://go.microsoft.com/fwlink/?LinkId=214134. -->
<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>0ada1ef7-1cea-4e3a-b946-a234e777d07b</Id>
<Version>1.0.0.0</Version>
<ProviderName>Provider</ProviderName>
<DefaultLocale>sv-SE</DefaultLocale>
<DisplayName DefaultValue="Name"/>
<Description DefaultValue="Description"/>
<IconUrl DefaultValue="url" />
<HighResolutionIconUrl DefaultValue="url" />
<SupportUrl DefaultValue="url" />
<Hosts>
<Host Name="Mailbox" />
</Hosts>
<Requirements>
<Sets>
<Set Name="Mailbox" MinVersion="1.3" />
</Sets>
</Requirements>
<!-- These elements support older clients that don't support add-in commands -->
<FormSettings>
<Form xsi:type="ItemEdit">
<DesktopSettings>
<SourceLocation DefaultValue="url"/>
</DesktopSettings>
<TabletSettings>
<SourceLocation DefaultValue="url"/>
</TabletSettings>
<PhoneSettings>
<SourceLocation DefaultValue="url"/>
</PhoneSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteMailbox</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit" />
</Rule>
<DisableEntityHighlighting>false</DisableEntityHighlighting>
<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="AppointmentOrganizerCommandSurface">
<!-- 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="apptComposeDemoGroup">
<Label resid="groupLabel" />
<!-- Launch the add-in : task pane button -->
<Control xsi:type="Button" id="apptComposeFunctionButton">
<Label resid="funcComposeButtonLabel" />
<Supertip>
<Title resid="funcComposeButtonLabel" />
<Description resid="funcComposeSuperTipDescription" />
</Supertip>
<Icon>
<bt:Image size="16" resid="icon16" />
<bt:Image size="32" resid="icon32" />
<bt:Image size="80" resid="icon80" />
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="functionFile" />
</Action>
</Control>
<!-- Go to http://aka.ms/ButtonCommands to learn how to add more Controls: ExecuteFunction and Menu -->
</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="icon16" DefaultValue="url"/>
<bt:Image id="icon32" DefaultValue="url"/>
<bt:Image id="icon80" DefaultValue="url"/>
</bt:Images>
<bt:Urls>
<bt:Url id="functionFile" DefaultValue="url"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="groupLabel" DefaultValue="Name"/>
<bt:String id="funcComposeButtonLabel" DefaultValue="Name"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="paneReadSuperTipDescription" DefaultValue="string"/>
<bt:String id="funcComposeSuperTipTitle" DefaultValue="string"/>
<bt:String id="funcComposeSuperTipDescription" DefaultValue="string"/>
</bt:LongStrings>
</Resources>
</VersionOverrides>
</OfficeApp>
【问题讨论】:
-
我相信您混淆了 Outlook Web App 2013(Exchange 2013 附带的 OWA 的本地版本)和适用于 Windows 的 Outlook 2013。在没有看到完整的验证报告的情况下,我无法给出明确的答案,但我相信他们将您的加载项标记为不适用于 Windows 的 Outlook 2013 SP1,不适用于带有 Exchange 2013 的 OWA。
-
感谢您的回答,可能是这样。我提供了上述验证的全部回复。
-
是的,问题出在 Outlook 2013 for windows。登录问题与正确收到令牌后的重定向有关。 Outlook 2013 for windows 中的浏览器在其地址字段中具有相同的 url,因此浏览器认为它不需要重定向。
标签: office365 manifest office-addins office-js