Office Add-In - SharePoint 2016 + Office Online Server - sharepoint

My custom Office Excel add-in does not work in my DEV environment (1) with the following three VMs.
Proper DEV on-prem environment:
AD Domain Controller
SharePoint 2016 on-prem
Office Online Server (updated November 2018)
OOS works as I can open Office docs in the browser. Both SharePoint and OOS run on http.
Online environment (just to test add-in itself):
I have tested the same - sample Excel add-in generated by Yeoman - in different environment too: O365 and SharePoint Online (developer tenant). It works, manifest is added to Apps for Office in AppCatalog and server works on https://localhost. I can see task pane of add-in in the browser. I can also debug both: desktop and web.
The same add-in (with server running on https://localhost) which works in online environment (2), does not work in DEV environment (1). It does not work when I upload XML manifest to AppCatalog, and it does not work when I try to debug generated add-in too.
I saw Excel add-in working in Internet Explorer on environment also with SharePoint 2016 and Office Online Server (/Office Web Apps). However, I do not have more details about that environment and how this add-in has been installed.

Related

Cannot open office apps in web browser mode from SharePoint

I've installed Microsoft office web apps offline in the VM and also Installed SharePoint 2016 in another VM machine. Both VMs are connected to the domain.
Besides, I've successfully connected SharePoint to the office farm. But when I try to open docx files or any other office app on the web browser I get the below error :
Failed to launch 'ms-word:ofv%7Cu%7Chttp://....' because the scheme
does not have a registered handler.
Based on the error that you have screenshoted, the Application falied to launch the MS Word Desktop Client because the scheme "ms-word" does not have a handler registered, which in simple terms means that there isn't any associated app to execute when the beforementioned scheme is used and in order to have the scheme registered with an application, you would have to install Microsoft Office on the machine that you are using to view the SharePoint Site.
Here is the link to the documentation where is states that the scheme handlers are registered upon the installation of Microsoft Office.
The following is the list of scheme names implemented in Microsoft Office applications. When Microsoft Office is installed, each scheme name is registered with Windows to be handled by the Office product of the same name. Note that "ms-spd" is an abbreviation for SharePoint Designer.
ms-word:
But in order to use the Web counterparts of the Office apps, like Word or Excel in the browser, there is a different procedure where it is required of you to Install a Office Online Server and enable communication with SharePoint Server.
As it is written in the overview of the product...
Office Online Server delivers browser-based versions of Word, PowerPoint, Excel, and OneNote. A single Office Online Server farm can support users who access Office files through SharePoint Server, Exchange Server, shared folders, and web sites.
Since it's a lengthy procedure and there are different prerequisites in term of licensing and other matters, you can check out this link (Configure Office Online Server for SharePoint Server) on the topic and decide which features you are looking for.

"Your administrator has not installed Web Add-ins for your organization" when try to add Office Add-in for SharePoint 2016 + Office Online Server

My environment:
1st VM/server: Active Directory Domain Controller
2nd VM/server: SharePoint 2016 On-Premises
3rd VM/server: Office Online Server (old Office Web Apps) also
On-Premises - version from November 2017
Done already:
Communication between SharePoint and OOS. I have also custom Office Excel Add-in uploaded to Apps for Office list in App Catalog site. Add-in itself should be fine - it works in other environment.
Issue:
When I try to install add-in in Excel in web/browser, I'm getting "Your administrator has not installed Web Add-ins for your organization" message:
screenshot
I have got also uploaded Office Excel Add-in to Apps for Office list in App Catalog, and it still does not work. Did I miss something in the configuration to allow adding custom add-ins?
I suppose a sharepoint catalog and app store add-ins are mixed in you post.
Instead of uploading the add-in Office 365, under Setting>Service & add-ins, try uploading the add-in in SharePoint Online Add Catalog site. To do this, please follow the steps below:
Sign in to Office 365 portal with admin credentials.
Go to Admin Center>SharePoint Online Admin Center.
Once you are in SharePoint Admin center, go to App Catalog site, URL should be something like https://tenant.sharepoint.com/sites/AppCatalog
Click Apps for Office on the left navigation panel to upload the add-in for Office apps.
Click Upload and browser the path where the custom add-in is saved on your system.
See Excel does not show Office 365 custom add-in for more information

Office Add-In deployed through O365 Admin Center Appears in Excel Ribbon but can´t be open

I have deployed an Office Add-in and uploaded through the O365 Admin Center The Add-In appears in the Excel Ribbon but can use it as a message appears “We could not open the Add-In from LocalHost.
Should I modify anything in the Manifest File?
The Add-In was created with Yeoman and it´s addressed to “LocalHost:3000”.
It´s just a template (taskpane example)
Many thanks in advance!!!
Regards,
José.
Localhost is only used to host the add-in during development. If you have deployed the add-in with Centralized Deployment, then you should be hosting the add-in on a web server or cloud account. In that case, the URLs in the manifest should be changed to the domain that is hosting the add-in.

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. 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:
On premise office online server configured with on premise
sharepoint server.
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
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
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

office 365 SharePoint app deployment with VS 2013

I don't have SharePoint installed in my machine.
I have installed VS 2013 Ultimate and have Office 365 developer site. And I want to develop Sharepoint 2013 apps without SharePoint installed in my machine.
When I open VS I can select template as Sharepoint 2013 apps and give URL of the site and select the hosting option. After do some smart coding I build the solution and then deployed.
When I navigate to Office 365 developer site I couldn't find the deployed app.
What is the issue? Anything I have missed?
First check output in Visual Studio to ensure that the app was indeed deployed successfully.
Second go to your Office 365 development site where it's supposed to be deployed. It should appear in "Recent" section in the side menu on left side. Alternatively go to Site Contents and your app should appear as a tile there.
If that still gives you trouble, try with a sample app project - open it and deploy it and see if that works.

Resources