JSLink: The simple way to add and load multiple JavaScript files

It can sometimes be useful to specify multiple JavaScript files to use when rendering e.g. a field in SharePoint 2013. It could be that you have a JavaScript file with some shared code that you use in all your custom rendering, or you use a library such as jQuery. In either case, you need all the scripts loaded before you can start rendering.

It turns out it is easy to tell SharePoint to download multiple JavaScript files when rendering e.g. a field. Just separate them with the pipe character, i.e. |.

How to add an Enterprise Keywords column to a custom list and enable Keyword synchronization in SharePoint 2013

This is a quick step-by-step guide to add an Enterprise Keywords column to a custom list and enable Keyword synchronization with Visual Studio 2012 in a SharePoint project. The SharePoint tools for Visual Studio 2012 have become a lot better in the latest edition, but a little extra work is required to get the Enterprise keywords column wired up correctly.

Quick and simple Drupal upgrade using FTP only

Running Drupal on a shared host usually imply you only have access to the webserver through FTP, i.e. no Drush or SSH to ease the upgrade process. The official upgrade instructions assumes you have shell access to your server.

With the frequent security updates to Drupal, it quickly becomes tedious to first delete every file in your Drupal directory on the server (except the sites directory of course), then upload the +1000 files in the latest release, all while your website is offline. Depending on your connection to your shared host, it can take a little while to complete the deleting and uploading process.

Getting TypeScript, RequireJS, and Jasmine to play nice together in Visual Studio

Getting TypeScript, RequireJS, and Jasmine playing nicely together in Visual Studio turned out to be a bit harder than I had hoped.

My first attempt with Chutzpah was not super successful, I did not manage to get it running without output errors. Then I tried using Resharper, but since the current version (7.1) has a bug that prevents the test session from ending properly when all tests have been executed, I went with a modified version of the "specrunner" that Jasmine is shipped with.

To make it easy to get started, I have demo project up on GitHub that have everything setup and is ready to run.

SharePoint’s formula syntax can change depending on a sites regional setting

Sometimes very simple formulas like =IF([Column1]<=[Column2], "OK", "Not OK") can result in the unhelpful "The formula contains a syntax error or is not supported" error message, even though the formula in the example is perfectly valid according to the documentation, it still wont accept it.

Windows 8 + Hyper-V does not diable speedstepping

After enabling Hyper-V on my laptop running Windows 8, I noticed that Task Manager and Resource Monitor always showed the processor as running at full speed, as if Speedstepping was suddenly disabled. This is however not the case. What is really happening is that Hyper-V is virtualizing the CPU for the host OS (Windows 8) as well. Opening up CPU-Z reveals the real clock speed and multiplier of the CPU.

Pages