WOPI客户端(在线办公室)锁定请求 [英] WOPI Client (office online) Lock request

查看:134
本文介绍了WOPI客户端(在线办公室)锁定请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在锁定文档时收到来自WOPI客户端(即Office Online)的奇怪响应,它为我提供了短json字符串和长json字符串方面的多个锁.

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.

这怎么可能?即使是这样,我也应该从整个json字符串中考虑哪一个是有效的,json字符串的哪一部分是实际锁定?

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 ?

响应包含json字符串,如下所示:

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"}

{"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"}

预先感谢!

推荐答案

您将其按原样存储为字符串".

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

如果在GetFileInfo中启用了SupportsExtendedLockLength,则锁ID"的大小最多为1024个字符,否则为256个字符.确保考虑到这一点.

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.

这篇关于WOPI客户端(在线办公室)锁定请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆