Disable the save as action

Hi,

I like to know if it is possible to disable the save as action in the menu Files > Save As.

Thanks

Sure - it’s easy - the SDK has documentation here:

https://sdk.collaboraonline.com/docs/How_to_integrate.html

See:

  1. PutRelativeFile that creates a new file with the body of the POST verb for the needs of the Save As operation when invoked with

https:///<…>/wopi/files/?access_token=

URL. If you do not want to support the Save As operation, please add UserCanNotWriteRelative with value true to your CheckFileInfo answer. It is request header X-WOPI-SuggestedTarget that is supported. Please note that PutRelativeFile is supported since Collabora Online 2.1.5.

Hope that helps.

1 Like

Thanks, that’s works.