如何在Sharepoint Online中的admin / Site集合级别全局添加索引 [英] How to add index globally at admin/Site collection level in Sharepoint Online

查看:48
本文介绍了如何在Sharepoint Online中的admin / Site集合级别全局添加索引的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我们能够在每个contentType上手动和以编程方式对Modified列进行索引。



我们想要了解有没有办法可以在admin / Site集合级别进行全局索引,以便应用于所有contentTypes,而不需要为每个项目执行此活动。


< p style ="border:none; font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif; outline:0px; padding-right:0px; color:#333333; font-size :14px">


非常感谢您的输入和指导!

解决方案


内容类型定义列表项,文档或文件夹的属性。  我们可以将内容类型与列表或库相关联。库和列表可以包含多个
内容类型。了解有关
内容类型


内容类型中不存在Modified列。它是一个常规列,存在于每个列表/库中。我认为"contentType"表示SharePoint列表/库。


一个列表列被设置为索引列,索引列只能在列表和库中配置。您需要从
站点检索并迭代所有列表和库,并以编程方式为每个列表/库的Modified列添加索引。


最好的问候,


<跨度>琳达


We are able to do index on an Modified column both manually and programmatically on each contentType.

We want to understand is there a way we can do indexing globally at admin/Site collection level so that is applied to all contentTypes and need not do this activity for each item.

Your input and guidance is much appreciated!

解决方案

Hi,

The content type defines the attributes of a list item, a document, or a folder. We can associate a content type with a list or library. Libraries and lists can contain multiple content types. Learn more about Content Types.

The Modified column does not exist in the content type. It is a general column and exists in each list/library. I think your "contentType" means the SharePoint list/library.

One the list column as be setup as the index column and the index column can only be configured in the lists and libraries. You need to retrieve and iterate all lists and libraries from the site, and add an index to Modified column for each list/library programmatically.

Best regards,

Linda


这篇关于如何在Sharepoint Online中的admin / Site集合级别全局添加索引的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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