首页 > 解决方案 > 将元数据添加到 SharePoint 网站集

问题描述

有什么方法可以将元数据添加到 SharePoint 在线现代网站集,我们希望将标签或属性包属性添加到网站集,并让搜索索引这些元数据,就像我们之前在 prem 网站集上的索引属性一样. 这是否可能以任何方式使用 power shell、rest API 或任何其他形式的 SharePoint API?

我们有机会在旧 UI/本地通过添加属性包条目并将其设置为“索引”。

标签: office365sharepoint-online

解决方案


我认为如果在 SP Online 中您使用此处提到的方法之一禁用 NoScript 。您应该仍然可以使用 PnP Powershell 方法将属性包值添加到网站集 https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnppropertybagvalue?view=sharepoint-ps

使用 -Indexed 开关参数您可以根据需要对属性包值进行索引


推荐阅读