Archive for November, 2012

Getting changed field values from SPItemEventReceiver

November 26, 2012 1 comment

has written a very interesting looking helper function for getting old values out of events.

Categories: work Tags:

Creating a Project Server 2013 App

November 26, 2012 1 comment


The first in a series of posts about creating a Project Server app.


This will be interesting.

Service descriptions for SharePoint 2013

November 26, 2012 1 comment


This post here

has a list of all the services in SharePoint 2013 and what version they are available in.


The interesting one for me is that SSRS is available in the E3 and E4 Office 365 plans. Not seen anything about that and I am interested as to how it will work.

Categories: CPS, work Tags:

How to hide the SharePoint ribbon

November 23, 2012 1 comment


Here is a quick post to show you how you can hide the SharePoint ribbon on a page using JavaScript. This was created by one of my colleagues so I am not sure of why the ribbon needed to be hidden but here is how.


function hideEditRibbon() {
var ribbon = SP.Ribbon.PageManager.get_instance().get_ribbon();
// Set the tab to the “Browse” tab
SelectRibbonTab("Ribbon.Read", true);
// Remove the “Edit” tab from a list from from the ribbon.

SP.SOD.executeOrDelayUntilScriptLoaded(function() {

var pm = SP.Ribbon.PageManager.get_instance();

pm.add_ribbonInited(function() {

var ribbon = null;
try {
ribbon = pm.get_ribbon();
catch (e) { }

if (!ribbon) {
if (typeof(_ribbonStartInit) == "function")
_ribbonStartInit(_ribbon.initialTabId, false, null);
else {


Just add this code to a page using the content editor web part and it will work.

Categories: CPS, work Tags: , ,