Skip to main content

Jorge (El Che) Vasquez Blog

Go Search
Metrostar Systems Blog
  
Metrostar Systems Blog > Jorge (El Che) Vasquez Blog > FAQ > FAQ3  

A Developer's Diary
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.
  1. Open the View with SharePoint Designer
  2. Make sure to have the Split View selected, since it shows what the user sees and code.
  3. Select the View, and you will notice that SharePoint Designer would highlight the code that SharePoint uses to renders the View.
  4. Within the code, scroll down to the "ListViewXml" node, in which you will be able to add the "Hidden" attribute within the "View" portion


  5. Here is how the code would look

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