Tuesday, August 05, 2008

Hide Sharepoint List Sharepoint Designer, SDK

Updated article with SharePoint 2010 Here
http://aaclage.blogspot.com/2010/10/hide-list-or-document-library-with.html

Hi,
Today i want to show how to hide a Sharepoint List from users and administrators.
There are 2 way to hide Sharepoint List via Browser
By code or by Sharepoint Designer.

On Sharepoint Designer,
Open Web site, select you List and select check box "Hide".

On Sharepoint SDK
SPWeb Web = SPContext.Current.Web;
SPList List = Web.Lists["Your_List_Name"];
List.Hidden = true;
List.Update();

Hope you like.
Post a Comment