Forum Discussion

kato_r's avatar
kato_r
Copper Contributor
Apr 05, 2021
Solved

How to hide page view counter

I want to hide below functions on SharePoint Online.

 

Please tell me how to hide it.

 

  • 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.

  • 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.

    • kato_r's avatar
      kato_r
      Copper Contributor
      Thank you for your reply.
      I can hide it !!

Resources