无法导入Excel在Excel Online中添加

时间:2016-12-01 09:14:56

标签: excel office365 office-js excel-addins

您好我已经采用了一个示例github项目https://github.com/OfficeDev/Excel-Add-in-JS-QuarterlySalesReport/blob/master/Readme.md, 在清单中进行一些更改后,能够成功导入我的桌面Excel应用程序中的添加版本1611 Build 7571.2006 (加载项Web应用程序在我的本地邮箱本身上运行)

现在我正在尝试在线excel上传此添加,而我的网络应用程序在我的本地方框上运行,但我在网上excel上收到此错误

enter image description here

这是我上传到在线excel的清单(此清单文件与在Excel桌面上运行的清单相同,只不过我将ip地址从127.0.0.1替换为我的公共IP)

    <?xml version="1.0" encoding="UTF-8"?>
    <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:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="TaskPaneApp">
      <Id>adc22a5f-62c5-472e-b258-2ae44be6fccf</Id>
      <Version>1.0.0.0</Version>
      <ProviderName>ML LABS</ProviderName>
      <DefaultLocale>en-US</DefaultLocale>
      <DisplayName DefaultValue="ML LABSII" />
      <Description DefaultValue="ML LABSII"/>
     <Hosts>
           <Host Name="Workbook" />
     </Hosts>
      <DefaultSettings>
        <SourceLocation DefaultValue="http://172.22.136.62:3000/" />
      </DefaultSettings>
      <Permissions>ReadWriteDocument</Permissions>
    </OfficeApp>

我尝试过,从其他计算机浏览器加载Web应用程序没有任何问题。

1 个答案:

答案 0 :(得分:1)

一个可能的问题是,您有 http 网址,而需要 https (特别是Office Online)。