用于旁载(本地文件共享)和Office 365管理中心预览的清单文件的内容是否存在差异?我有一个托管在SharePoint上的完全可用的插件,目前正在使用文件共享“可信插件目录”方法(旁加载)。我已要求我们的SharePoint代表将该加载项加载到Office365管理中心预览中,但“办公应用程序”工具响应该清单无效。

<?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"
xsi:type="TaskPaneApp">
<Id>C058EB6E-F7CA-4586-832D-AD46F3BD3201</Id>
<Version>1.3</Version>
<ProviderName>Demo</ProviderName>
<DefaultLocale>EN-US</DefaultLocale>
<DisplayName DefaultValue="Rapid Component Add-in"/>
<Description DefaultValue="Demo Rapid Component Add-in service live"/>
<AppDomains>
<AppDomain>https://login.microsoftonline.com</AppDomain>
<AppDomain>https://eadadfs.acompany.com</AppDomain>
</AppDomains>
<IconUrl DefaultValue=
"https://acompanyportal.sharepoint.com/sites/ComponentAssembler/Shared%20Documents/RapidComponentLive/Images/logo.png"/>
<Hosts>
<Host Name="Document"/>
<Host Name="Workbook"/>
</Hosts>
<DefaultSettings>
<SourceLocation DefaultValue="https://acompanyportal.sharepoint.com/sites/ComponentAssembler/Shared%20Documents/RapidComponentLive/generated.aspx"/>
</DefaultSettings>
<Permissions>ReadWriteDocument</Permissions>
</OfficeApp>发布于 2016-09-28 02:44:21
是的,是有区别的。当您从文件共享加载清单时,一些错误会被跳过,清单仍然会被加载;您可以使用RuntimeLogging更深入地了解这一点。当您将清单加载到插件目录(基于SP,不支持插件命令btw)或管理中心预览(O365)时,还会执行完整的模式验证,这就是为什么您会看到一些错误。根据模式验证您的清单和/或使用RuntimeLogging查看错误(例如,将IconUrl放在AppDomains节点之前)。
顺便说一句,您上传的屏幕截图不是admin center preview的,而是基于SP的附加模块目录。如果您打算尝试预览,请确保您的管理员将其上传到正确的位置。
https://stackoverflow.com/questions/39727641
复制相似问题