某些列将显示在文档库中 [英] Certain columns to show up in Document Libraries

查看:51
本文介绍了某些列将显示在文档库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下列应该可用于某些文档库中具有与之关联的工作流的所有视图:

The following columns should be available on all views in certain Document Libraries that have workflow associated with them:


1。签出为
2.版本控制b
3.批准状态

1. Checked out
2. Versioning
3. Approval Status

我们有大量的文档库,因此手动过程会很麻烦。我们想要一个自动化的过程。我们在内部使用SharePoint 2013.

We have tonnes of Document Libraries and so manual process would be cumbersome. We would like an automated process. We are using SharePoint 2013 on premise.

是否有可以执行此操作的PowerShell脚本。 

推荐答案

您好Mayank, 
$


您可以使用PowerShell脚本循环遍历每个库并设置视图。下面是一些代码参考,您可以修改脚本以达到您的要求。 

Hi Mayank, 

You can use PowerShell script to loop through each libraries and set views. Here is some code reference, you can modify the script to achieve your requirement. 

Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue


siteURL ="< YOURSITEURL>"
siteURL = "<YOURSITEURL>"


site = Get-SPSite(
site = Get-SPSite(


这篇关于某些列将显示在文档库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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