How to set read only docx and xlsx files?

Suggestions on Document Server Installation/Functionality
Post Reply
MarcoD
Posts: 4
Joined: Fri Nov 15, 2019 3:49 am

How to set read only docx and xlsx files?

Post by MarcoD » Fri Nov 15, 2019 3:53 am

I installed Document Server and integrate it with NextCloud.
How to change settings OnlyOffice for read only docx and xlsx documents?
I guess that it in api.js settings.
What must i change in api.js?

Andrew
Posts: 101
Joined: Mon Apr 01, 2019 1:09 pm

Re: How to set read only docx and xlsx files?

Post by Andrew » Fri Nov 15, 2019 8:31 am

Hello MarcoD,

I am afraid there is no such methods in Document Server API, these permissions should be implemented on the side of documents storage application.

MarcoD
Posts: 4
Joined: Fri Nov 15, 2019 3:49 am

Re: How to set read only docx and xlsx files?

Post by MarcoD » Fri Nov 15, 2019 8:39 am


MarcoD
Posts: 4
Joined: Fri Nov 15, 2019 3:49 am

Re: How to set read only docx and xlsx files?

Post by MarcoD » Fri Nov 15, 2019 12:29 pm

I mean what I need that all docx and xlsx files open in Onlyoffice from NextCloud only for reading, without edit permition.

Andrew
Posts: 101
Joined: Mon Apr 01, 2019 1:09 pm

Re: How to set read only docx and xlsx files?

Post by Andrew » Fri Nov 15, 2019 1:17 pm

Document Server executes your configuration and can open files in different modes, you can use this page to try different variants and how it will look for user. I am sorry, but specific code implementation on Nextcloud side is beyond my competence.

MarcoD
Posts: 4
Joined: Fri Nov 15, 2019 3:49 am

Re: How to set read only docx and xlsx files?

Post by MarcoD » Sun Nov 17, 2019 2:35 am

Ok, thanks for reply.
Could I change the default display mode from "MarkUp" to "Final" or "Origanal" to all users?
555.jpg
555.jpg (67.61 KiB) Viewed 1268 times

Post Reply