Vue normale

Il y a de nouveaux articles disponibles, cliquez pour rafraîchir la page.
À partir d’avant-hierFlux principal

Enable or Disable the Social Bar (Like, Views, Save for later) in SharePoint at tenant level

SharePoint Online provides various social features in modern experience SharePoint sites. One of the features available for SharePoint site pages is the social bar (Like, No. of Comments, Views, Save for later), which is situated at the bottom of site pages. Social bar allows users to engage with page content by liking and saving pages for later reference. Social bar also shows the number of page views and comments on modern site pages.

However, organizations may have specific requirements that necessitate enabling or disabling the social bar on SharePoint site pages. Unfortunately, there are no settings available for enabling/disabling social bar using SharePoint user interface. In this blog post, we will explore how to achieve this at SharePoint tenant level using SharePoint Online PowerShell, PnP PowerShell and CLI for Microsoft 365 scripts.

Using SharePoint Online PowerShell

Use below SharePoint Online PowerShell script to enable or disable the social bar from site pages for all SharePoint sites in the tenant:

# SharePoint online admin center URL
$adminCenterUrl = "https://contoso-admin.sharepoint.com/"

# Connect to SharePoint online admin center
Connect-SPOService -Url $adminCenterUrl

# Disable the social bar from SharePoint online site pages
Set-SPOTenant -SocialBarOnSitePagesDisabled $true

# Enable the social bar on SharePoint online site pages
Set-SPOTenant -SocialBarOnSitePagesDisabled $false

Using PnP PowerShell

You can use below PnP PowerShell script to show or hide the social bar from SharePoint online modern experience site pages:

# SharePoint online admin center URL
$adminCenterUrl = "https://contoso-admin.sharepoint.com/"

# Connect to SharePoint online admin center
Connect-PnPOnline -Url $adminCenterUrl -Interactive

# Show the social bar on SharePoint online modern site pages
Set-PnPTenant -SocialBarOnSitePagesDisabled $false

# Hide the social bar from SharePoint online modern site pages
Set-PnPTenant -SocialBarOnSitePagesDisabled $true

Using CLI for Microsoft 365

Use below CLI for Microsoft 365 script to enable or disable the Social Bar (like, No. of comments, views, Save for later) in SharePoint online at tenant level:

# Get Credentials to connect
$m365Status = m365 status
if ($m365Status -match "Logged Out") {
    m365 login
}

# Disable the social bar from SharePoint online site pages
m365 spo tenant settings set --SocialBarOnSitePagesDisabled true

# Enable the social bar on SharePoint online site pages
m365 spo tenant settings set --SocialBarOnSitePagesDisabled false

Conclusion

Enabling or disabling the social bar on site pages in SharePoint Online can be achieved using SharePoint Online PowerShell, PnP PowerShell or CLI for Microsoft 365 scripts. By following the steps outlined in this blog post, you can customize the user experience and align it with your organization’s specific requirements. Whether you want to encourage user engagement or disable social features for certain scenarios, these PowerShell scripts provide the flexibility to control the social bar’s presence on SharePoint online modern site pages.

Learn more

Later – Mettez au chaud vos applications macOS pour plus tard

J’imagine que vous avez déjà eu besoin de quitter rapidement toutes vos applications sous macOS voire de soigneusement les cacher avant une présentation importante ?

D’ailleurs, vous êtes peut-être en ce moment même, en train de travailler sur plusieurs projets en même temps et vous voulez les enregistrer sans perdre de temps à les sauvegarder un par un ou fermer les applis une par une ?

Dans tous les cas, l’application Later pourrait bien être la solution ultime :).

Later est donc une application sous licence libre pour Mac (ça je l’ai déjà dit) qui permet de sauvegarder vos applications et fenêtres ouvertes en un seul clic. Vous pourrez ensuite les restaurer instantanément, ce qui vous permettra évidemment de gagner du temps et de l’efficacité. Et ça, ça fera plaisir au capitalisme.

Capture d'écran de la fenêtre de l'application Later

Mais ce n’est pas tout !! lL’application propose également une fonctionnalité de planification pour rouvrir les applications à une heure précise, afin que vous puissiez reprendre votre travail sans avoir à chercher les logiciels dont vous avez besoin. Vous pouvez même régler un minuteur pour les réouvrir dans quelques minutes, par exemple après une réunion ou un rush de réponses à vos emails.

Bref, plus besoin de vous inquiéter de perdre vos données ou de devoir tout sauvegarder avant de fermer une application puisque Later s’occupe de tout pour vous, et vous pourrez ainsi vous concentrer sur l’essentiel.

Pratique non ?

❌
❌