It has been a while since I had a chance to enjoy TypeScript while crafting solutions for SharePoint 2010 and 2013. Not SharePoint 2010, nor SharePoint 2013 provide definitions for its JavaScript object model. Hence, a few SharePoint MVPs (@amarkeev and @gandjustas) have come up with an incredible project “SharePoint 2013 TypeScript Definitions” to make it possible leveraging TypeScript

Read More
Creating Office apps with TypeScript – meet Office.js TypeScript Definitions

I am a developer by trade so am very used to using generics and reflection in C#, however, today I was faced with trying to grab an ‘SPPersistedObject’ from the ‘SPFarm.Local.Services.GetValue<T>()’ method. So, in C# I wanted to do this : Microsoft.Practices.SharePoint.Common.Logging.DiagnosticsService msDiagnosticService = SPFarm.Local.Services.GetValue<Microsoft.Practices.SharePoint.Common.Logging.DiagnosticsService>(“clbDiagnosticService”); if (msDiagnosticService != null) { msDiagnosticService.Delete(); } The above is

Read More
How to call a generic method with Powershell and Reflection

Everyone will recognize the news stories, confidential information ending up on the streets. Not by a hacker, but simply by the clumsiness of an employee. Losing a USB-stick for example, seems like a trivial thing. A study under 400 companies showed that on average 12,000 customer/employee records are lost. A 2.5 million dollar issue! The news items are hilarious at

Read More
The new Share-button in SharePoint 2013 is a blessing, or isn’t it?