В настоящее время я работаю над пользовательской надстройкой Outlook и не могу найти дополнительную информацию о поддержке закрепления панели задач. Я реализовал элемент SupportsPinning
в манифесте проектов с поддержкой переопределения версий для схем версии 1.0 и 1.1, используя пример, предоставленный в https://docs.microsoft.com/en-us/outlook/add-ins/pinnable-taskpane.. В настоящее время я могу закрепить панель задач в клиенте Outlook для Mac, но неудалось найти любую информацию о закреплении на Outlook в Интернете. «Outlook в Интернете» упоминается в документации, на которую я ссылался выше, но только вкратце. Я проверил пиннинг, используя как бесплатную, так и премиум-аккаунт, но не повезло.
Мой вопрос: нужны ли дополнительные шаги для включения закрепления панели задач для Outlook в Интернете, которые выходят за рамки того, что предусмотрено в связанной документации? выше или фрагмент кода, который я включил ниже. Мне странно, что закрепление работает в настольном клиенте, но не в Интернете.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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"
xsi:type="MailApp">
<Id>092ef841-4956-4ff0-ba08-6723f15583dd</Id>
<Version>1.0.0.0</Version>
<ProviderName>Client</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="Client CRM"/>
<Description DefaultValue="Client Microsoft Office Outlook Add-in"/>
<!-- Icons -->
<IconUrl DefaultValue="https://localhost:9001/assets/client-64.png"/>
<HighResolutionIconUrl DefaultValue="https://localhost:9001/assets/client-128.png"/>
<!-- URLS -->
<SupportUrl DefaultValue="https://client.test/support"/>
<!-- Domain Whitelist -->
<!-- https://docs.microsoft.com/en-us/outlook/add-ins/manifests#app-domains -->
<AppDomains>
<AppDomain>https://client.test/</AppDomain>
</AppDomains>
<!-- Hosts -->
<!-- https://docs.microsoft.com/en-us/outlook/add-ins/manifests#hosts -->
<Hosts>
<Host Name="Mailbox"/>
</Hosts>
<!-- Requirements -->
<!-- https://docs.microsoft.com/en-us/outlook/add-ins/manifests#requirements -->
<!-- https://docs.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.4/outlook-requirement-set-1.4 -->
<Requirements>
<Sets>
<Set Name="Mailbox" MinVersion="1.4"/>
</Sets>
</Requirements>
<!-- Form Settings -->
<!-- https://docs.microsoft.com/en-us/outlook/add-ins/manifests#form-settings -->
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<SourceLocation DefaultValue="https://localhost:9001/taskpane.html"/>
<RequestedHeight>450</RequestedHeight>
</DesktopSettings>
</Form>
<Form xsi:type="ItemEdit">
<DesktopSettings>
<SourceLocation DefaultValue="https://localhost:9001/taskpane.html"/>
</DesktopSettings>
</Form>
</FormSettings>
<!-- Permissions -->
<!-- https://docs.microsoft.com/en-us/outlook/add-ins/manifests#permissions -->
<Permissions>ReadWriteItem</Permissions>
<!-- Activation Rules -->
<!-- https://docs.microsoft.com/en-us/outlook/add-ins/manifests#activation-rules -->
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit"/>
</Rule>
<DisableEntityHighlighting>false</DisableEntityHighlighting>
<!-- VersionOverrides for the v1.0 schema -->
<!-- https://docs.microsoft.com/en-us/office/dev/add-ins/reference/manifest/versionoverrides#attributes -->
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<Requirements>
<!-- https://docs.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.5/outlook-requirement-set-1.5 -->
<bt:Sets DefaultMinVersion="1.5">
<bt:Set Name="Mailbox"/>
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<!-- Message read ribbon -->
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<OfficeTab id="messageReadTab">
<Group id="messageReadTab.mainGroup">
<Label resid="GroupLabel"/>
<Control xsi:type="Button" id="openSidebarReadButton">
<Label resid="TaskpaneButton.Label"/>
<Supertip>
<Title resid="TaskpaneButton.Label"/>
<Description resid="TaskpaneButton.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="Taskpane.Url"/>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<!-- Message compose ribbon -->
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
<OfficeTab id="messageComposeTab">
<Group id="messageComposeTab.mainGroup">
<Label resid="GroupLabel"/>
<Control xsi:type="Button" id="openSidebarComposeButton">
<Label resid="TaskpaneButton.Label"/>
<Supertip>
<Title resid="TaskpaneButton.Label"/>
<Description resid="TaskpaneButton.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="Taskpane.Url"/>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="Icon.16x16" DefaultValue="https://localhost:9001/assets/client-16.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://localhost:9001/assets/client-32.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://localhost:9001/assets/client-80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="Taskpane.Url" DefaultValue="https://localhost:9001/taskpane.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="GroupLabel" DefaultValue="Client CRM"/>
<bt:String id="TaskpaneButton.Label" DefaultValue="Add a Journal Entry"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="TaskpaneButton.Tooltip" DefaultValue="The Client CRM Add-In for Outlook"/>
</bt:LongStrings>
</Resources>
<!-- VersionOverrides for the v1.1 schema -->
<!-- https://docs.microsoft.com/en-us/office/dev/add-ins/reference/manifest/versionoverrides#attributes -->
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
<Requirements>
<!-- https://docs.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.5/outlook-requirement-set-1.5 -->
<bt:Sets DefaultMinVersion="1.5">
<bt:Set Name="Mailbox"/>
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<!-- Message read ribbon -->
<ExtensionPoint xsi:type="MessageReadCommandSurface">
<OfficeTab id="messageReadTab">
<Group id="messageReadTab.mainGroup">
<Label resid="GroupLabel"/>
<Control xsi:type="Button" id="openSidebarReadButton">
<Label resid="TaskpaneButton.Label"/>
<Supertip>
<Title resid="TaskpaneButton.Label"/>
<Description resid="TaskpaneButton.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="Taskpane.Url"/>
<!-- Support Pinning -->
<!-- https://docs.microsoft.com/en-us/outlook/add-ins/pinnable-taskpane#support-task-pane-pinning -->
<SupportsPinning>true</SupportsPinning>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
<!-- Message compose ribbon -->
<ExtensionPoint xsi:type="MessageComposeCommandSurface">
<OfficeTab id="messageComposeTab">
<Group id="messageComposeTab.mainGroup">
<Label resid="GroupLabel"/>
<Control xsi:type="Button" id="openSidebarComposeButton">
<Label resid="TaskpaneButton.Label"/>
<Supertip>
<Title resid="TaskpaneButton.Label"/>
<Description resid="TaskpaneButton.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<SourceLocation resid="Taskpane.Url"/>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="Icon.16x16" DefaultValue="https://localhost:9001/assets/client-16.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://localhost:9001/assets/client-32.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://localhost:9001/assets/client-80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="Taskpane.Url" DefaultValue="https://localhost:9001/taskpane.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="GroupLabel" DefaultValue="Client CRM"/>
<bt:String id="TaskpaneButton.Label" DefaultValue="Add a Journal Entry"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="TaskpaneButton.Tooltip" DefaultValue="The Client CRM Add-In for Outlook"/>
</bt:LongStrings>
</Resources>
</VersionOverrides>
</VersionOverrides>
</OfficeApp>