Blog
PublishingAssociatedContentType and its values
Another good tutorial. http://read-more.su/2012/05/publishing-associated-content-type-value.html
Event Handlers SharePoint 2010
This Tutorial can come in pretty handy. http://www.sharepointbriefing.com/spcode/article.php/3872616/Using-the-Event-Handler-in-SharePoint-2010.htm
SharePoint – Save Site As Template Missing ?
Site Templates don't work on publishing sites, there are many reasons for this, master pages, page layouts, etc. The stuff doesn't export / Import well. Some times you need just need to get to the site template for development reasons and what not. This is stolen from...
SharePoint call javascript after page load with Script Editor WebPart
In SharePoint 2013 they added a Script Editor WebPart. Add this to a page and add the following code in the WebPart Editor.
Upgrade SharePoint 2010 webpart solution to 2013
Open Visual Studio 2012. Go to File-Open-Project/Solution, locate the file you want to upgrade. (let it do the normal upgrade) Close the project and save changes. Open the *.csproj file in Notepad or some other type of text editor. Change the TargetFrameWorkVersion...
Powershell – Get Site Template ID
The following PowerShell script will return Template Name and the Internal ID. $url = “http://sp2013/” $site= new-Object Microsoft.SharePoint.SPSite($url ) $loc= [System.Int32]::Parse(1033) $templates= $site.GetWebTemplates($loc) foreach ($child in $templates){...
Error – Directory “FeatureDirectoryName” associated with feature ‘GUID1’ in the solution is used by feature ‘GUID2’ installed in the farm.
The solution cannot be deployed. Directory "FeatureDirectoryName" associated with feature 'GUID1' in the solution is used by feature 'GUID2' installed in the farm. All features must have unique directories to avoid overwriting files. I've ran into this error three...
SharePoint 2013, The timer job for this operation has been created, but it will fail because the administrative service for this server is not enabled.
The timer job for this operation has been created, but it will fail because the administrative service for this server is not enabled. If the timer job is scheduled to run at a later time, you can run the jobs all at once using stsadm.exe -o execadmsvcjobs. To avoid...
Powershell – Access Request Settings (SharePoint 2010 & 2013)
I had a request to turn on all access requests or notifications on all sites with a web application. PowerShell is your best bet for doing these types of occasional tasks. This script will turn access requests on for all sites. Change the email address below to the...
SharePoint 2013 – Get Sub Sites Webpart
This Web Part returns an HTML list of all sub-sites with hyperlinks. The Web Part HTML contains CSS References that can be used to change the containing div(s). Download GetSubsiteWP...