In this article we will be seeing about the Title, description and navigationfor SharePoint list using PowerShell and c#. Go to Document Library => Library Settings => General Settings =>Title, description and navigation. Name and Description: Navigation: Using C# using (SPSite site = newSPSite("http://serverName:1111/")) { using (SPWeb web = site.RootWeb) { SPListlibGeneralSettings= web.Lists["Doc Library"]; libGeneralSettings.Title = "Doc Library Updated"; libGeneralSettings.Description = "My updated Doc Library"; libGeneralSettings.OnQuickLaunch = false; libGeneralSettings.Update();
} }
Using PowerShell script: $site=Get-SPSite "http://serverName:1111/" $web=$site.RootWeb $list=$web.Lists["Doc Library"] $list.Title="Doc Library Updated" $list.Description="My updated Doc Library" $list.OnQuickLaunch = $false $list.Update()
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: