Nosairat
Nosairat

Reputation: 492

Launch MS Word on Client PC to Edit Document on Server

I have a web application(PHP) running on a server which hosts several DOCX Documents (MS Word documents)

I want the user (using my application) after choosing any document to be able to:

could anyone help me how to do that

ie.

Thanks in advance

Upvotes: 0

Views: 2798

Answers (1)

Marc LaFleur
Marc LaFleur

Reputation: 33094

You can launch Office applications using Office URI Schemes. This would allow you to automatically open the file.

If you want to avoid downloading the file locally, you'll need to implement either WOPI or WebDav on your backend to handle the requests.

A simpler solution would be to use Microsoft Graph to push the file into OneDrive. Files in OneDrive have a WebUrl property which wires up opening documents in Office for you.

Upvotes: 1

Related Questions