Problem with set reviewing mode by default on microsoft 365

ELMA 1 Reputation point
2021-12-21T07:57:45.837+00:00

Hi.
I`m trying to use Office 365 through WOPI and stuck little bit.

I need to open my docx in review mode by default instead of just edit mode. But cant find method or parameters for request\response to implement this.
Also it would be nice if i could allow only reviewing mode for document.

Thanks in advance.

docs i used - https://interoperability.blob.core.windows.net/files/MS-WOPI/%5bMS-WOPI%5d.pdf

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Microsoft 365 Publishing
Microsoft 365 Publishing
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line. Publishing: The process of preparing, producing, and releasing content for distribution or sale.
595 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wenjun Gong 76 Reputation points Microsoft Employee
    2021-12-29T03:47:07.767+00:00

    Hi @ELMA ,

    How are your open the docx? Using a shared link? Generally, the review / edit mode is decided by the authority of the user when he/she opens the link. If the document link is get from "Share" button of a document, you can set the link as review link, read only or edit link. Hope this helps.

    161037-image.png