简体   繁体   English

如何在Office在线本地服务器上部署OfficeJS插件?

[英]How to deploy officeJS addin on office online on-premise server?

I have written a small officeJS addin for excel which run perfectly on desktop excel client. 我已经为Excel编写了一个小型officeJS插件,可以在桌面excel客户端上完美运行。 Also office online from onedrive gives an option of installing the addin from the ribbon menu. 另外,onedrive在线办公室还提供了从功能区菜单安装插件的选项。 I want to use this officeJS addin to run on either of the following configuration: 我想使用此officeJS插件在以下任一配置上运行:

  1. On premise office online server configured with on premise sharepoint server. 配置了本地共享点服务器的本地办公室联机服务器。
  2. On premise office online server with my own implementation of wopi host. 在本地办公室在线服务器上,我自己实现了wopi主机。

How to deploy an officeJS addin on office online on premise server which is preferably managed centrally by the administrator. 如何在本地服务器上的办公室在线部署OfficeJS插件,最好由管理员集中管理。

Also why is the add-ins option is not available on the office online configured with sharepoint, pfa image: office online onedrive v/s office online onprem with sharepoint 另外,为什么在配置了Sharepoint, PFA映像的Office Online上没有外接程序选项: Office Online OneDrive V / S Office Online onprem with sharepoint

Thank You 谢谢

The Office Online Server currently doesn't enable Office store by default. Office Online Server当前默认情况下不启用Office存储。 As part of the configuration, you'd have to enable it. 作为配置的一部分,您必须启用它。 I'm not 100% sure about the exact setting. 我不确定确切的设置100%。 It may be this: set the AllowExternalMarketplace flag to true. 可能是这样:将AllowExternalMarketplace标志设置为true。

More here 这里更多

Try this. 尝试这个。 On a server in the farm, open the SharePoint Management Shell (PowerShell). 在服务器场中的服务器上,打开SharePoint命令行管理程序 (PowerShell)。 Run this command: 运行以下命令:

Set-OfficeWebAppsFarm - OfficeAddinEnabled:$true

You probably have to be logged in as a farm administrator. 您可能必须以服务器场管理员身份登录。 There is some documentation here: Set-OfficeWebAppsFarm 这里有一些文档: Set-OfficeWebAppsFarm

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SharePoint 内部部署到 SharePoint 在线迁移 - SharePoint On-premise to SharePoint online Migration BPOS SharePoint Online中的Silverlight并与本地服务进行通信 - Silverlight in BPOS SharePoint Online and communicating to on-premise service 从 SharePoint 本地获取数据并将数据发布到 SharePoint 在线 - GET data from SharePoint on-premise and POST data to SharePoint Online 将Office加载项部署到SharePoint本地环境 - Deploy Office AddIn to SharePoint on-premises environment 如何在本地SharePoint 2013上集成Adobe Sign? - How to integrate Adobe Sign on SharePoint 2013 On-Premise? 如何在 PowerShell 中使用 CSOM 连接到本地 SharePoint 2013 - How to connect to SharePoint 2013 on-premise using CSOM in PowerShell 通过 Internet 本地部署 SharePoint - SharePoint On-Premise over Internet 是否有 API 端点可以通过 REST API(在 C# 中)与 Sharepoint 中的其他用户在线和本地共享元素(文件、项目、站点等)? - Is there a API endpoint to share elements (files, items, sites, ...) with other users in Sharepoint online and on-premise via REST API (in C#)? 尝试将自定义应用程序添加到 SharePoint 2013 内部部署时,我收到错误“您需要 Office 开发工具来创建站点” - When trying to add a Custom app to a SharePoint 2013 on-premise I get the error “You need Office Development tools to create a site” 在本地将需求/规范文档存储在TFS中 - Storing requirements/specification documents in TFS on-premise
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM