Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get an array of SharePoint 2010 calendar instances on the current page.
var calendars = [];
var d = SP.UI.ApplicationPages.CalendarInstanceRepository.$o_0;
for (var k in d) {
calendars.push(d[k]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.