签入没有签入版本(CSOM)的文件 [英] Check in files that have no check in version (CSOM)

查看:91
本文介绍了签入没有签入版本(CSOM)的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I am using Office 365 SharePoint and have a requirement to require check in for all documents. As a result of this, whenever someone uploads a document, it is automatically checked out. Sometimes, the documents are never checked in. I want to write a script (through Powershell or CSOM - C#) that will check in files that have never been checked in.

我可以通过转到库设置"->手动进行此操作.在没有签入版本的情况下管理文件,但是我有很多文档库和文件.我什至遇到过库中有超过5000项从未签入过的项目. 通过代码完成此操作的一种方法.

I can manually do this by going to Library settings -> manage files with no checked in version, but I have a lot of document libraries and files. I have even encountered libraries that have over 5000 items that have never been checked in. There has to be a way to do this through code.

推荐答案

在这里.分辨率是

Here you go. The resolution is

https://social.technet.microsoft.com/Forums/office/zh-CN/bfd510c2-250a-4bcb-952c-77f6e2e174bc/how-to-get-checked-out-file-with-no-checkedin -version-using-csom?forum = sharepointdevelopment

https://social.technet.microsoft.com/Forums/office/en-US/bfd510c2-250a-4bcb-952c-77f6e2e174bc/how-to-get-checked-out-file-with-no-checkedin-version-using-csom?forum=sharepointdevelopment


这篇关于签入没有签入版本(CSOM)的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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