有没有办法删除现有的 SharePoint(在线)文件锁定?
尝试在 SharePoint 库中上传/签出文件时,我们收到“锁定共享使用”消息。
目前不在线的用户。我尝试删除她对该文件的共享权限,但它仍然显示她正在编辑它(文档的右上角)。
有没有办法完全删除文件上现有的共享锁,以便我们可以上传文件的新版本?
理想情况下,我们希望通过 UI 来做到这一点。但是任何如何使用 API 上的代码删除所有现有锁的想法也会有所帮助。
我发现把锁拆干净并不容易。基本上,删除我们遇到的类型的唯一方法是删除文件并重新添加
We are getting the locked for shared use message when trying to upload/checkout a file in a SharePoint library.
The user that is not online at the moment. I tried removed her sharing permissions on the file and its still shows she is editing it (upper right corner of the document).
Is there a way to completely remove existing sharing locks on a file so we can upload a new version of the file?
Ideally we would like way to do this with the UI. But any ideas how remove all existing locks with code on the API would also be helpful.
I found that it was not easy to remove the lock cleanly. Basically the only way to remove the type of we experienced was to delete the file and re-add
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我曾经能够通过强迫他们签署所有会话(Admin->用户 - > Active用户)来解决此问题 - 您的里程可能会有所不同,并且对于用户来说很糟糕。
除非您有特定的原因,否则检查 / IN似乎是一种过时的处理方法。好奇听到更多。 -shane
I was once able to resolve this by forcing them to sign out of all sessions (Admin->Users->Active Users) - Your mileage may vary and it sucks for the user.
Checking out / in seems an outdated way to handle things unless you have a specific reason. Curious to hear more. -Shane
最简单的方法是删除该文件,然后从回收站恢复。
Easiest way to do this is to delete the file then restore from recycle bin.