IE 10, HTML5 and jQuery 2.x – JavaScript runtime error: ‘JSON’ is undefined

While debugging HTML5 web pages with jQuery based scripts in Visual Studio 2012 using IE 10, if you see an error similar to following: Error Unhandled exception at line XXX, column 1 in http://localhost:8135/Scripts/jquery-X.y.z.js 0x800a1391 – JavaScript runtime error: ‘JSON’ is undefined   And  if you are able to debug the same page in Visual…

8

Changing IIS Authentication Settings of a Classic Mode Web Application in SharePoint 2010 using PowerShell

Will keep this short and simple, so using SharePoint 2010 Management Shell: 1.  First get a reference to your web application, using following command $webApp = Get-SPWebApplication – Identity <URL of your web application> 2.  Get the list of zones present in the web application, using following command $webApp.IisSettings.Keys Previous command should have shown you…


How to Create SharePoint ReadOnly Site Columns?

In this post I will show how to create a SharePoint readonly site column with following characteristics: Site column when added to a list or library should not be editable through UI (even datasheet view) Users should be able to add list columns based on site column to personal or shared list views of that list Users…

6

Creating a SharePoint Site with Anonymous Viewers and Contributors

In this blog entry we will show how to create a SharePoint site such that anonymous users should be able to contribute content into lists/libraries and also browse the site. Warning: We will leave out various non-essential configuration details from the perspective of this blog entry; however, these details might be very crucial or important…


Customizing Contact Selector Control for Single Contact Selection

More often than not, while developing custom workflow LOB (Line of Business) applications, we come across situations where we need to develop an application feature to provide end users capability to select other users or contacts for assignment of tasks, as participants of workflow, etc. from AD (Active Directory) or User Profiles in SharePoint. In case of InfoPath…