0

I'm working on a SharePoint Embedded solution which, among other things, creates Word document view/edit links using the Graph API endpoint createLink : https://learn.microsoft.com/en-us/graph/api/driveitem-createlink?view=graph-rest-1.0&tabs=http

My problem is that when the Word document opens in the browser, the user has the option to "Open in Desktop" which opens the Word document in the Word desktop application. I want to prevent the user from opening the Word document in the Word desktop application and "force" them to only open the Word document in the browser.

How can I prevent the users from opening the Word document in the desktop application? Or asked in a different way, how can I enforce that Word documents can only be opened in the browser?

3
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. Commented Sep 3 at 0:19
  • This is not a programming question and, as such, is off-topic for Stack Overflow. See: stackoverflow.com/help/on-topic. Questions on general usage of Microsoft Word should be asked on an appropriate end-use forum. Commented Sep 4 at 1:39
  • There is this bit of the documentation that discusses the launch experience-learn.microsoft.com/en-us/sharepoint/dev/embedded/development/… But nothing looks concrete. On the Graph API-there is currently no way to specify or determine direct control over desktop vs Web opening. You would probably need to explore custom URL construction with web specific parameters I can confirm this is not available using Graph Commented Sep 10 at 12:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.