Add-in Error: something went wrong and we couldn't start this add-in
Add-in Error: something went wrong and we couldn't start this add-in
我正在关注此 link 以 运行 一个 Excel 加载项。
我遵循了这个 video and configured localhost such that Home-simple.html 在浏览器中运行良好:
我写了SheetSwitcherManifest-online-3.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TaskPaneApp">
<Id>9475b9bb-ff88-476f-917d-33a9c632508a</Id>
<Version>1.0.0.0</Version>
<ProviderName>Microsoft</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="Sheet Switcher - 3" />
<Description DefaultValue="Sheet Switcher - 3" />
<Capabilities>
<Capability Name="Workbook" />
</Capabilities>
<DefaultSettings>
<SourceLocation DefaultValue="http://localhost/Downloads/Excel-Add-in-JS-SheetSwitcher-master/TextEditor/Home-simple.html" />
</DefaultSettings>
<Permissions>ReadWriteDocument</Permissions>
</OfficeApp>
但是在Excel在线上传这个插件报错:
有人能帮忙吗?
对于 DefaultValue="file:///Users/softtimur/Downloads/Excel-Add-in-JS-SheetSwitcher-master/TextEditor/Home-simple.html"
,这绝对是不正确的,因为文件需要托管在 IIS (https://) 上,而不是 file:// 引用。
对于 https://localhost:44300/Users/softtimur/Downloads/Excel-Add-in-JS-SheetSwitcher-master/TextEditor/Home-simple.html
,link 在浏览器中对您有用吗?它看起来很像 file://
,带有 localhost:44300
前缀。您是否将 IIS 服务器设置为指向 C: 驱动器的根目录(这很不寻常)?将它指向一个文件夹会更常见,地址看起来更像 https://localhost:44300/TextEditor/Home-simple.html
我正在关注此 link 以 运行 一个 Excel 加载项。
我遵循了这个 video and configured localhost such that Home-simple.html 在浏览器中运行良好:
我写了SheetSwitcherManifest-online-3.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TaskPaneApp">
<Id>9475b9bb-ff88-476f-917d-33a9c632508a</Id>
<Version>1.0.0.0</Version>
<ProviderName>Microsoft</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="Sheet Switcher - 3" />
<Description DefaultValue="Sheet Switcher - 3" />
<Capabilities>
<Capability Name="Workbook" />
</Capabilities>
<DefaultSettings>
<SourceLocation DefaultValue="http://localhost/Downloads/Excel-Add-in-JS-SheetSwitcher-master/TextEditor/Home-simple.html" />
</DefaultSettings>
<Permissions>ReadWriteDocument</Permissions>
</OfficeApp>
但是在Excel在线上传这个插件报错:
有人能帮忙吗?
对于 DefaultValue="file:///Users/softtimur/Downloads/Excel-Add-in-JS-SheetSwitcher-master/TextEditor/Home-simple.html"
,这绝对是不正确的,因为文件需要托管在 IIS (https://) 上,而不是 file:// 引用。
对于 https://localhost:44300/Users/softtimur/Downloads/Excel-Add-in-JS-SheetSwitcher-master/TextEditor/Home-simple.html
,link 在浏览器中对您有用吗?它看起来很像 file://
,带有 localhost:44300
前缀。您是否将 IIS 服务器设置为指向 C: 驱动器的根目录(这很不寻常)?将它指向一个文件夹会更常见,地址看起来更像 https://localhost:44300/TextEditor/Home-simple.html