Tuesday, August 05, 2008

Hide Sharepoint List Sharepoint Designer, SDK

Updated article with SharePoint 2010 Here

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;

Hope you like.

No comments: