当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] SharePoint Online:如何关闭“您可能也感兴趣”功能?

作者:精品下载站 日期:2024-12-14 16:02:02 浏览:15 分类:玩电脑

SharePoint Online:如何关闭“您可能也感兴趣”功能?


“您可能还感兴趣”是 SharePoint Online 的一项新功能,可帮助人们根据以前的页面浏览量、点赞和评论查找相关内容。如果您不需要此功能,您可以在站点级别或页面级别禁用它。只需编辑任何新式页面并将开关滑动到“开”或“关”即可启用或禁用该页面的“您可能也感兴趣”功能。

[玩转系统] SharePoint Online:如何关闭“您可能也感兴趣”功能?

禁用 SharePoint Online 中的“您可能也感兴趣”功能

如果您想为整个网站(网络)关闭此功能,那么您可以在网站级别停用此功能(这样您就不必编辑每个页面并关闭滑块!)。

  • 转到站点设置>>站点信息>>查看所有站点设置
  • 点击“管理网站功能”
  • 找到“SharePoint 建议”并单击“停用”,然后单击“停用此功能”进行确认。

[玩转系统] SharePoint Online:如何关闭“您可能也感兴趣”功能?

默认情况下,通信站点中启用此功能。因此,当您创建新页面时,您会在页面底部看到“您可能也感兴趣”部分。

使用 PowerShell 禁用 SharePoint 推荐功能

使用此 PnP PowerShell 脚本禁用 SharePoint Online 网站的功能。


#Config Variable
$SiteURL = "https://Crescent.sharepoint.com/sites/HRPortal"
$FeatureId = "780AC353-EAF8-4AC2-8C47-536D93C03FD6" #Web Scoped SharePoint Recommendations Feature

#Connect to PnP Online
Connect-PnPOnline -Url $SiteURL -Interactive

#Get the Feature
$Feature = Get-PnPFeature -Scope Web -Identity $FeatureId 

#Get the Feature status
If($Feature.DefinitionId -ne $null)
{    
    #Deactivate the Feature
    Write-host -f Yellow "Deactivating Feature..."
    Disable-PnPFeature -Scope Web -Identity $FeatureId -Force

    Write-host -f Green "Feature Deactivated Successfully!"
}
Else
{
    Write-host -f Yellow "Feature is Not active!"
}

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯