Error:
Solution:
- First Change view of library using SharePoint designer where you are getting this error.
- run following command for all broken libraries one by one,
$web = Get-SPWeb
http://qas.classic.com/teams/test1
$list =
$web.Lists["test library"]
$fld =
$web.Fields.GetFieldByInternalName("SortBehavior")
$list.Fields.Add($fld)
Still if you get error while running code as following,
- then Create new single text column called "SortBehavior" in library and it will start working soon with all items view.
- That's all,,,:)
No comments:
Post a Comment