How to disable change list view in SharePoint lists using only CSS




Sometimes you may need to show information in SharePoint list only how you want it but not users. You create a list view and hope than other users will not change anything. But to be more assured that list view will be the same as you created it, you need to disable a change of list view in SharePoint list.

You can rather easily disable option for changing views in SharePoint lists using only CSS.

For this you need to make next steps:

1. Create a list view and make it default

2. Go to edit mode of a page with necessary view

3. Add Content editor webpart to a page and insert as clean HTML-code a code below:

4. Save your page.

Now you can see that there’s no more option to change list view in ribbon.

 



MarkiMarta.com. Notes of web-specialist
Since 2009
18+
Add / remove user to SharePoint groups with PowerShell

In SharePoint site you can see usually a lot of groups. Sometimes administrator gets a task to add user to...

Close