Friday, December 20, 2013

Removing checkbox from SharePoint view using PowerShell

At times there is a need to remove the selection checkboxes in SharePoint list/library views. The following PowerShell code does that for you

$OpenWeb = Get-SPWeb http://mysite.cloudapp.net
$OpenList = $OpenWeb.Lists["My Library"]
$OpenView = $OpenList.Views["All Documents"]
$OpenView.TabularView = $false
$OpenView.Update()

2 comments:

  1. Thanks for this solutions, I also facing the same issue now when i tried with your given solutions, this sharepoint issue is resolved now. A big thanks for your job.

    ReplyDelete

Real Time Analytics