Jul 12 2023 11:28 AM
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?
Jul 12 2023 12:24 PM
Jul 12 2023 12:42 PM
Hello
Thanks for the quick response........I do not want users switching to other views. The requirement is to hide the views dropdown from the command bar.
Jul 13 2023 03:28 AM
@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-onlin...