Надстройка не загружается в приложение Outlook Desktop в Windows - PullRequest
0 голосов
/ 17 октября 2018

Я создал дополнение для Outlook, которое в основном отображает в нем веб-страницу.Он отлично работает в Интернете (все браузеры) и приложение Outlook для настольных компьютеров на Mac, но не работает в приложении Outlook для настольных компьютеров для Windows.

Пожалуйста, найдите ниже файл manifest.xml для того же:

<?xml version="1.0" encoding="UTF-8"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="MailApp">
<Id>faf79be0-c75f-48a4-823f-67e02ca31a86</Id>
<Version>1.0.0.0</Version>
<ProviderName>Sachin Goel</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="stageAddIn 1.4" />
<Description DefaultValue="Sample staging add-in  version 1.4 for integrating bot" />
<IconUrl DefaultValue="https://leena.ai/assets/img/favicon.ico" />
<HighResolutionIconUrl DefaultValue="https://leena.ai/assets/img/favicon.ico" />
<SupportUrl DefaultValue="https://leena.ai/" />
<AppDomains>
    <AppDomain>https://staging-web.chatteron.io/addin/</AppDomain>
    <AppDomain>http://staging-web.chatteron.io/addin/</AppDomain>
    <AppDomain>AppDomain3</AppDomain>
</AppDomains>
<Hosts>
    <Host Name="Mailbox" />
    <Host Name="Document" />
</Hosts>
<Requirements>
    <Sets>
        <Set Name="Mailbox" MinVersion="1.1" />
    </Sets>
</Requirements>
<FormSettings>
    <Form xsi:type="ItemRead">
        <DesktopSettings>
            <SourceLocation DefaultValue="https://staging-web.chatteron.io/addin" />
            <RequestedHeight>250</RequestedHeight>
        </DesktopSettings>
    </Form>
    <Form xsi:type="ItemEdit">
        <DesktopSettings>
            <SourceLocation DefaultValue="https://staging-web.chatteron.io/addin" />
        </DesktopSettings>
    </Form>
</FormSettings>
<Permissions>ReadItem</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
</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>
                <FunctionFile resid="functionFile" />
                <ExtensionPoint xsi:type="MessageReadCommandSurface">
                    <OfficeTab id="TabDefault">
                        <Group id="msgReadGroup">
                            <Label resid="groupLabel" />
                            <Control xsi:type="Button" id="msgReadOpenPaneButton">
                                <Label resid="paneReadButtonLabel" />
                                <Supertip>
                                    <Title resid="paneReadSuperTipTitle" />
                                    <Description resid="paneReadSuperTipDescription" />
                                </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="messageReadTaskPaneUrl" />
                                </Action>
                            </Control>
                        </Group>
                    </OfficeTab>
                </ExtensionPoint>
                <ExtensionPoint xsi:type="MessageComposeCommandSurface">
                    <OfficeTab id="TabDefault">
                        <Group id="msgComposeGroup">
                            <Label resid="groupLabel" />
                            <Control xsi:type="Button" id="msgComposeOpenPaneButton">
                                <Label resid="paneComposeButtonLabel" />
                                <Supertip>
                                    <Title resid="paneComposeSuperTipTitle" />
                                    <Description resid="paneComposeSuperTipDescription" />
                                </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="messageComposeTaskPaneUrl" />
                                </Action>
                            </Control>
                        </Group>
                    </OfficeTab>
                </ExtensionPoint>
            </DesktopFormFactor>
        </Host>
    </Hosts>
    <Resources>
        <bt:Images>
            <bt:Image id="icon16" DefaultValue="https://leena.ai/assets/img/favicon.ico" />
            <bt:Image id="icon32" DefaultValue="https://leena.ai/assets/img/favicon.ico" />
            <bt:Image id="icon80" DefaultValue="https://leena.ai/assets/img/favicon.ico" />
        </bt:Images>
        <bt:Urls>
            <bt:Url id="functionFile" DefaultValue="https://demo-sales.chatteron.io/function-file/function-file.html" />
            <bt:Url id="messageReadTaskPaneUrl" DefaultValue="https://staging-web.chatteron.io/addin" />
            <bt:Url id="messageComposeTaskPaneUrl" DefaultValue="https://staging-web.chatteron.io/addin" />
        </bt:Urls>
        <bt:ShortStrings>
            <bt:String id="groupLabel" DefaultValue="My Add-in Group" />
            <bt:String id="customTabLabel" DefaultValue="My Add-in Tab" />
            <bt:String id="paneReadButtonLabel" DefaultValue="Staging Add-In" />
            <bt:String id="paneReadSuperTipTitle" DefaultValue="Staging Add-In" />
            <bt:String id="paneComposeButtonLabel" DefaultValue="Compose command" />
            <bt:String id="paneComposeSuperTipTitle" DefaultValue="Compose command super tip" />
        </bt:ShortStrings>
        <bt:LongStrings>
            <bt:String id="paneReadSuperTipDescription" DefaultValue="Opens a pane displaying all available properties. This is an example of a button that opens a task pane." />
            <bt:String id="paneComposeSuperTipDescription" DefaultValue="Compose command super tip description." />
        </bt:LongStrings>
    </Resources>
</VersionOverrides>
</OfficeApp>

Я пробовал много решений, но не повезло.Может ли это быть связано с iframes, так как index.html отображает внешнюю веб-страницу в iframe?

1 Ответ

0 голосов
/ 23 октября 2018

Вы добавили надстройку в свою учетную запись Outlook?На картинке я подписал кнопку для управления надстройками.

Вот изображение, о котором я говорю.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...