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

十年热恋 提交于 2019-12-25 00:37:36

问题


I have written a small officeJS addin for excel which run perfectly on desktop excel client. Also office online from onedrive gives an option of installing the addin from the ribbon menu. I want to use this officeJS addin to run on either of the following configuration:

  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.

How to deploy an officeJS addin on office online on premise server which is preferably managed centrally by the administrator.

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

Thank You


回答1:


The Office Online Server currently doesn't enable Office store by default. As part of the configuration, you'd have to enable it. I'm not 100% sure about the exact setting. It may be this: set the AllowExternalMarketplace flag to true.

More here




回答2:


Try this. On a server in the farm, open the SharePoint Management Shell (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



来源:https://stackoverflow.com/questions/44665073/how-to-deploy-officejs-addin-on-office-online-on-premise-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!