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

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Microsoft 365 Publishing
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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.