Can we load Excel file in Office.js Add-in
I am trying to load a Excel file in Excel online. By loading a file I mean lets say I receive an Excel file from a service which I need to show on the current workbook. The file location can be a url or any folder in my site. Excel.run(function (context) { var workbook = context.workbook; //workbook.load or something ? } Add-ins are scoped to the document and are intended to extend the functionality of the Office application, not as a mechanism for opening documents themselves. What you're describing is what WOPI is intended for. The WOPI protocol provides an interface between Office and the