How to reactivate feature on all webs in a site collection


Sometimes you need to reactivate a same web feature many times, whereever it is activated. Here is a handy Powershell script Add-PSSnapin Microsoft.SharePoint.PowerShell $site = get-spsite foreach($web in $site.AllWebs) { #Get the feature based on feature Id $results = … Continued

How to check SharePoint Farm Version


Today I ran across excellent new way to check Farm version for SharePoint 2013. Simply add  /_vti_pvt/service.cnf to the site URL to retrieve FARM build number, e.g. it will show: vti_encoding:SR|utf8-nl vti_extenderversion:SR|  – this is farm version. Same information … Continued

“The formula contains a syntax error or is not supported” when creating a site from your custom site definition

SharePoint 2010

If you get this message, it is related to one or more custom calculated fields in custom content type that you are binding to, say Page library. <ContentTypeBinding ContentTypeId=” 0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900934580F187BC9D41A93CD80922ACB14D0020A6F4BF761A71479762484F9359D4CB” ListUrl=“Pages“/> Check your field schema, it may be broken. Unfortunately, … Continued