【问题标题】:Add-In is not loading on Outlook Desktop application on WindowsWindows 上的 Outlook 桌面应用程序未加载加载项
【发布时间】:2019-03-22 00:04:10
【问题描述】:

我为 Outlook 创建了一个插件,它基本上在其中呈现一个网页。 它在 web(所有浏览器)和 mac 上的 Outlook 桌面应用程序上也可以正常工作,但不能在 Windows 的 Outlook 桌面应用程序上工作。

请在下面找到 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>

我尝试了很多解决方案,但没有运气。这是否与 iframe 相关,因为 index.html 在 iframe 中呈现外部网页?

【问题讨论】:

  • 请您查看How to ask 指南吗?请添加您遇到的错误以及您尝试解决的问题?
  • 它没有在桌面应用程序上显示任何类型或错误。我曾尝试通过 Vorlon.js 调试桌面应用程序,但一无所获
  • 然后添加详细信息,说明您如何知道它不起作用以及您尝试采取什么措施来解决它。如果这样做,您可能会得到更多来自这里的人的回复。
  • 桌面应用的插件空间有一个空白页面。我已经尝试为插件服务器和网页提供服务,以便从相同的 dns 呈现,因为之前 iframe 上出现了关于不同来源的警告。
  • 我们也面临与 webaddin 类似的问题

标签: jquery outlook-addin add-in office-addins outlook-web-addins


【解决方案1】:

您是否将加载项添加到您的 Outlook 帐户中?在图片中,我签署了用于管理加载项的按钮。

Here is an image that I talk about.

【讨论】:

    猜你喜欢
    • 2021-04-01
    • 2021-06-15
    • 2021-10-18
    • 2021-06-16
    • 2020-02-18
    • 1970-01-01
    • 2020-07-18
    • 2019-10-29
    • 1970-01-01
    相关资源
    最近更新 更多