向所有站点文档库视图添加新列 [英] Adding a new column to all Site Document Library views

查看:79
本文介绍了向所有站点文档库视图添加新列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在研究实施O365标签,以在我们组织内引入文档保留.

I am looking into implementing O365 Labels to introduce document retention within our organization.

我知道如何将标签"列分别添加到文档库视图中(这样用户可以看到对每个文档应用了什么标签),但是我想知道是否有一种方法可以分配此列到我们所有的站点文档库? 是通过GUI还是通过Powershell?

I am aware of how to add the 'Label' column to document libraries view individually (So users can see what labels are applied to each document), but I was wondering if there was a way I could I assign this column to all of our Sites Document Libraries? Either by the GUI or Powershell?

亲切的问候

马特

推荐答案

嗨Shearzo11,

Hi Shearzo11,

首先,在文档内容类型"中添加新列,然后为更新从该类型继承的所有内容类型"选择是".

First, add the new column in Document content type, and choose Yes for "Update all content types inheriting from this type".

使用以下PowerShell在所有文档库的默认视图中显示该列:

To show the column in all document libraries' default view, using the following PowerShell:


site = Get-SPSite"http://sharepoint.com"
site = Get-SPSite "http://sharepoint.com"


column =列"
column = "Column"


这篇关于向所有站点文档库视图添加新列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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