SharePoint 2010: Changes to HTML with Service Pack 1

Hacking around SharePoint’s HTML, CSS and JavaScript is both fun and a powerful way to enhance SharePoint without deploying custom code to the web servers. I call it “hacking” as Microsoft never intended for us to know or care about what’s behind the browser. While it’s rare for a Service Pack to change the HTML delivered to the browser, SP1 did change the JavaScript library used for the Calendar.

Service Pack 1 broke my color coded calendar code. (http://techtrainingnotes.blogspot.com/2010/06/sharepoint-2010-color-coded-calendars.html). The fix is a simple edit, just change SP.UI.ApplicationPages.CalendarNotify.$4a to SP.UI.ApplicationPages.CalendarNotify.$4b.


I am still going through my SP 2010 customizations, but so far, the color coded calendar is only one that SP1 broke.


Do you know of other changes?

If you have found other SP 1 changes that might impact client side customizations, please post them as a comment below!


Do you have SP 1?

A quick test is now possible due to the change to the calendar JavaScript. Just navigate to a calendar view and enter the following in the browser’s address bar:



If you get a popup showing “undefined”, then you have SP 1 (or later). If you see code, then you have a pre-SP1 installation.






Anonymous said...

Our SharePoint online updated recently by Microsoft. Got error
'SP.UI.ApplicationPages.CalendarNotify' is null or not an object from the calendar. This is the first time we have the error. tried both
SP.UI.ApplicationPages.CalendarNotify.$4a and

Mike Smith said...

> Our SharePoint online updated recently by Microsoft.

SharePoint online is always going to be a moving target as they plan to make lots of incremental changes.

Are you using the "2010 experience" or the "2013 experience" after the upgrade.

I'll do some testing and see what I can find.


Anonymous said...

We are now at wave 15, still looks like 2010.
Thanks for your quick response!

Anonymous said...

Many thanks for the information on this page. We service packed our 2010 install, broke the colour coding and I have had the most stressful morning trying to figure it out! Your page saved my bacon today.
Cheers, Ade NZ

Papakatang Chuapheat said...

I am looking for your new book about customization for SharePoint online. I bought your book it helps me to make understand how to do it. Thanks.

Note to spammers!

Spammers, don't waste your time... all posts are moderated. If your comment includes unrelated links, is advertising, or just pure spam, it will never be seen.