Delete Column from a SharePoint List
If you want to delete a column from a SharePoint List. Following steps on powershel can help you well.
PS> $web = Get-SPWeb -identity http://your/site/name
PS> $list = $web.Lists["Your List Name"]
PS> $column = $list.Fields["Your Column Name"]
PS> $column.Hidden = $false
PS> $column.ReadOnlyField = $false
PS > $column.Update()
PS > $list.Fields.Delete($column)
Keine Kommentare:
Kommentar veröffentlichen