2010-09-29

SharePoint 2010, REST API, JSON, Javascript , JQuery AND correct Date handling/serialization

Today I created a Javascript that displayed the calendar events from a SharePoint calendar. I used Javascript and SharePoint's REST API to inject the result in a cusom Spot web part that I've written. Combining the REST API and JQuery was straightforwad, but I ran into trouble when I was going to display the calendar event's start date.

It turns out that JQuery date serialization and WCF date serialization differs. Luckily (for me) I found the description of the issue and a solution written by Steve Commisso. Read it here.

Key elements in the JavaScript:

No comments: