Tuesday, August 23, 2011

Remove a list in SharePoint 2010 from the Quick Launch toolbar

 

You can use Windows PowerShell to remove a list in SharePoint 2010 from the Quick Launch toolbar. Simply store an instance of an SPList Object, set the OnQuickLaunch property to $false, and update the SPList object.

PS > $spWeb = Get-SPWeb http://sp01/site

PS > $spList = $spWeb.GetList("http://sp01/site/Lists/MyList")

PS > $spList.OnQuickLaunch = $false

PS > $spList.Update()

No comments:

Post a Comment

Access to XMLHttpRequest at 'from origin has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. .net core angular

Issue: The angular application was getting error from API that the origin has been blocked by CORS policy. Solution: Make sure that the...