ISSUE:
I have a view which I would like to hide from all users. However, by default, SharePoint makes all views available to all users of a List.
SOLUTION:
You can use SharePoint Designer to hide List Views. Here is my approach.
- Open the View with SharePoint Designer
- Make sure to have the Split View selected, since it shows what the user sees and code.
- Select the View, and you will notice that SharePoint Designer would highlight the code that SharePoint uses to renders the View.
- Within the code, scroll down to the "ListViewXml" node, in which you will be able to add the "Hidden" attribute within the "View" portion

- Here is how the code would look

- Click on the "Save" button and you will be done.
Another related question that I usually get, once I hide a view:
|
Question : |
How can I set permissions on List Views? |
|
Answer : |
Unfortunately, SharePoint does not provide this feature and hopefully, they will be fixing this issue on the upcoming version of SharePoint. In the mean time, I have created a solution to this issue. Please feel to contact me if you are interested. |