WOPI Client (office online) Lock request

空扰寡人 提交于 2019-12-11 04:17:21

问题


I have strange response from WOPI client (i.e. Office Online) while locking the document, It provides me multiple locks in terms of short json string and long json string.

How could this be possible ? and even if it is, which one I should consider the valid and from whole json string, Which part of json string is actual lock ?

Response contains json string as below:

{"F":6,"E":1,"C":"DF1","M":"df-8f3a7ae03629","P":"59F8D569-8001-4CF1-A5A2-E89C24E18A7F","W":"df-d81ca88d14b7","B":"4B9BA727-DD57-4CE5-8F3D-6A814191DB82","L":"df-94574cd614c8"}

Thanks in advance !!


回答1:


You store it as-is as 'a string'.

If you enabled SupportsExtendedLockLength in GetFileInfo then the size of the 'lock id' is at most 1024 characters, otherwise 256 characters. Make sure to account for this.



来源:https://stackoverflow.com/questions/38329948/wopi-client-office-online-lock-request

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!