Forum Discussion
MHarper74
Jul 12, 2023Copper Contributor
SharePoint Online_How to hide view dropdown in command bar in list webpart
I have a list view in a list webpart and we need to hide the view dropdown and the info button in the command bar....see below. What is the best way to accomplish this?
KotiReddy
Jul 13, 2023Brass Contributor
MHarper74 Unfortunately you can not hide using OOTB functionality. You have to use SPFX to hide "Switch View Options".
Below explained how to do.
https://techcommunity.microsoft.com/t5/sharepoint/how-to-hide-switch-view-option-in-sharepoint-online/m-p/3679306