Month: January 2014

SharePoint create a custom Logger for your application

Logging is always a subject which everybody wants but not does. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.SharePoint.Administration; namespace myCustomLogger.Logger { class myLogger : SPDiagnosticsServiceBase { public static string customDiagnosticAreaName = "I Like SharePoint"; private static myLogger _Current; public static myLogger Current { get { if (_Current == null) {…

Embedding SharePoint Document Version History / Repeating data in Word using Open XML SDK

In my latest post I described how to add/extend approval and publishing infos within .docx custom properties. Within this post I would like to give you an example on how to add your own simple xml content schema with repeating elements using the Microsoft Word Developer ribbon extension and the xml mapping pane. To stay…