-1

I want to view/edit office files (doc/excel/ppt) in my platform (online). Is there any office Api reference or Sdk or any iframe or any service that ms office provides ? Thanks in advance.

aneeb
  • 75
  • 4
  • Possible duplicate of [Can we load Excel file in Office.js Add-in](https://stackoverflow.com/questions/45791384/can-we-load-excel-file-in-office-js-add-in) – Marc LaFleur Nov 01 '17 at 14:34

2 Answers2

1

As I understand your question, you have a web application and you'd like users to be able to open and edit Office documents inside your application. There is no API for doing this. Perhaps you could try opening Office Online in an iFrame. But users would have to login and manually open the document.

Rick Kirkham
  • 9,038
  • 1
  • 14
  • 32
1

The full answer to your question will largely depend on the specifics of what you're trying to achieve, but I'd suggest that you start by exploring the capabilities of Microsoft Graph.

Using the Microsoft Graph API, for example, you could upload an Excel file to OneDrive and then subsequently retrieve that DriveItem, and use the value of the webUrl property (i.e., a URL) in the Get DriveItem response to access/open that file in Excel Online.

Kim Brandl
  • 13,125
  • 2
  • 16
  • 21