Problem Description:
Set default value to column via Powershell .
Resolution:
$w = Get-SPWeb http://localhost
$l = $w.GetListFromUrl("/Lists/ RequestList/DefaultStatus. aspx")
$f = $l.Fields["Status"]
$f.DefaultValue = "Delivered"
$f.Update()
Product Applies To:
· SharePoint Server 2010
· SharePoint Foundation 2010
· SharePoint Server 2013
No comments:
Post a Comment