Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I change CheckFileInfo in python app? #28

Open
ikoofi opened this issue Apr 16, 2024 · 1 comment
Open

How can I change CheckFileInfo in python app? #28

ikoofi opened this issue Apr 16, 2024 · 1 comment

Comments

@ikoofi
Copy link

ikoofi commented Apr 16, 2024

Hellow,
I am integrating "collabora online" into my python application.
How can i chang res = {'UserCanWrite': True} in CheckFileInfo?
I tried:
<input name="checkfileinfo_override" value="UserCanWrite=False" type="hidden"/>
but not working, please help me!

@hfiguiere
Copy link
Contributor

You cannot use this method to override UserCanWrite. Only DownloadAsPostMessage can be overidden.
https://sdk.collaboraonline.com/docs/advanced_integration.html#override-checkfileinfo

UserCanWrite can only be set in the CheckFileInfo WOPI operation implemented in the python application.

@hfiguiere hfiguiere changed the title How can i chang CheckFileInfo in python app? How can I change CheckFileInfo in python app? Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants