Fix for SharePoint 2016 Project Templates Missing in Visual Studio 2015

Problem: SharePoint Project Templates are missing in Visual Studio 2015! Solution: We need to install “Microsoft Office Developer Tools for Visual Studio 2015” for SharePoint 2016 project templates in Visual Studio 2015. For SharePoint 2010/2013, download and install: Microsoft Office Developer Tools for Visual Studio 2015 For SharePoint 2016, Download and install:…

Read more

Fix “MissingAssembly” Errors of Test-SPContentDatabase in SharePoint 2013 Migration

Problem:During SharePoint 2013 migration, we ran Test-SPContentDatabase cmdlet and the output report contains several MissingAssembly errors! Category        : MissingAssemblyError           : TrueUpgradeBlocking : FalseMessage         : Assembly [DealEventEventhandler, Version=1.2.6.0, Culture=neutral, PublicKeyToken=b4122bae67581526] is referenced in the database [wss_content], but is not installed on the current farm. Please install any feature/solution which contains this assembly.Remedy          :…

Read more

Reset to Site Definition via PowerShell in SharePoint

To Re-ghost customized SharePoint sites and pages, We use “Revert to Site definition” via Site Settings >> under Site Actions section, click on Reset to site definition  Choose a specific page or entire site. Click on Reset! . Reset to site definition – what does it do?Reset to Site Definition removes any…

Read more

Property Bags in SharePoint 2013 – Store, Retrieve Custom Configurations

As its name suggests, the Property bag feature provides a convenient way to store and retrieve custom configurations, instead of having to store them in web.config files. Property bags in SharePoint store configuration data in the Hash-Table (Key-Value) format. We can store and retrieve properties at the following levels: Farm (SPFarm )…

Read more

Add-Remove-Get Event Receivers in SharePoint with PowerShell

We usually use C# console application or feature activation code to register event receivers with the target list or library in SharePoint. At times, we may have to handle event receiver associations explicitly. Of course, there are some great tools (E.g. SharePoint Event Receiver Manager) to manage event receivers. However, in a…

Read more

“This field can have no more than 255 characters.” Error in Multiline Text Columns

Getting  “This field can have no more than 255 characters.” error on SharePoint Multiple lines of text  columns? Well, the fix is simple, we’ve the property  “Allow Unlimited length in document libraries” on Multiple lines of text fields. Once enabled, technically it can hold content up to 2 GB. We can also…

Read more

How to Create and Deploy SSRS 2012 Reports to SharePoint 2013?

Reporting Services integrated with SharePoint 2013 gives you Rich enterprise reporting features. We’ve our SQL Server 2012 Reporting services integrated with SharePoint 2013 already. So now we can create reports for SharePoint 2013 using both SQL Server Report Builder 3.0 and using Visual Studio. Lets create a SQL Server Reporting Services Report…

Read more

How to Rename SharePoint Folder Programmatically?

To rename a folder in SharePoint 2010, Navigate to the library where the folder exists. Click on “Edit Properties” Provide new name to the folder and click on “Save” button. How rename SharePoint folder programmatically?  To rename a folder in SharePoint document library programmatically, using C# object model code: Rename SharePoint Folder…

Read more

Add Site Collection Administrators Programmatically/PowerShell in SharePoint

SharePoint site collection administrators have Full rights to all sites within a site collection. Primary site collection administrator and Secondary site collection administrator specified in central administration will automatically become site collection admins. Its also possible to add multiple site collection admins for any SharePoint site collection. How to add a site…

Read more