Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Office Web App PowerPoint API

Tags:

ms-office

Facebook has a nice way to preview powerpoint files.. It goes to a microsoft link, e.g. link. You can browse the presentation etc, all very nice and useful for the user and Facebook.

However, I cannot find any sort of API doing that with microsoft.

I found this blog post, which is kindof what I want, but its not referencing any API that I can use to produce this programmatically.

I have a website which users can store files (also powerpoint presentations) and would like them to be able to preview it.

Has anyone got any experience with this? Preferably not going through microsoft route (if possible)..

like image 523
Matej Avatar asked Dec 06 '13 23:12

Matej


People also ask

Is there a PowerPoint API?

PowerPoint JavaScript API: The PowerPoint JavaScript API provides strongly-typed objects that you can use to access objects in PowerPoint.

Does Microsoft Office have an API?

Office 365 Management APIs overview Provides a single extensibility platform for all Office 365 customers' and partners' management tasks, including service communications, security, compliance, reporting, and auditing.

Can you use PowerPoint as a web based or client based app?

Using PowerPoint in a web browser lets you create and share create and share basic presentations. You can work simultaneously with others and present your slide show from anywhere. But web-based PowerPoint doesn't include all the features that desktop PowerPoint does.

What is REST API PPT?

REST is an architectural style which is based on web-standards and the HTTP protocol. In a REST based architecture everything is a Resource. A resource is accessed via a common interface based on the HTTP standard methods.


1 Answers

Assuming your Powerpoint is hosted on your website and is publicly accessible, all you have to do is prepend it in this way http://view.officeapps.live.com/op/view.aspx?src=<Document Location>. Here's an example.

This works with ANY office document type including PDF!

Reference:

https://blogs.office.com/2013/04/10/office-web-viewer-view-office-documents-in-a-browser/

like image 133
Korayem Avatar answered Oct 03 '22 11:10

Korayem