SOLVED

How to hide page view counter

Copper Contributor

I want to hide below functions on SharePoint Online.

kato_r_0-1617601722154.png

 

Please tell me how to hide it.

 

2 Replies
best response confirmed by kato_r (Copper Contributor)
Solution

@kato_r 

You can hide(disable) it using SharePoint online PowerShell or PnP PowerShell.

 

To disable it at tenant level, you can use below PS command:

 

Set-SPOTenant -SocialBarOnSitePagesDisabled $true

 

or using PnP PowerShell:

 

Set-PnPTenant -SocialBarOnSitePagesDisabled $true

 

To disable it at site collection level, you can use below PS command:

 

Set-SPOSite -Identity <site-coll-url> -SocialBarOnSitePagesDisabled $true

 


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Thank you for your reply.
I can hide it !!
1 best response

Accepted Solutions
best response confirmed by kato_r (Copper Contributor)
Solution

@kato_r 

You can hide(disable) it using SharePoint online PowerShell or PnP PowerShell.

 

To disable it at tenant level, you can use below PS command:

 

Set-SPOTenant -SocialBarOnSitePagesDisabled $true

 

or using PnP PowerShell:

 

Set-PnPTenant -SocialBarOnSitePagesDisabled $true

 

To disable it at site collection level, you can use below PS command:

 

Set-SPOSite -Identity <site-coll-url> -SocialBarOnSitePagesDisabled $true

 


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

View solution in original post