Category: Sitecore

Gotcha: Dictionary entries, keys, diff tool and the “Furniture version”

This one got me pretty good… We’ve been heavy at work with a rather large Sitecore solution when, from nowhere, the Diff tool started showing weird version numbers in the select lists. And by weird, I don’t mean like “Version

Posted in Sitecore Tagged with: , ,

A Shiny New Field Type: LinkList

[updated 2014-11-09] According to reports and comments, this module is not compatible with Sitecore 7.2 (and up). The code is available on Github for anyone to grab a copy and fix the problem. If you do, please be kind and

Posted in Sitecore Tagged with: , ,

Page Editor: Clear Image Field from Sitecore Page Editor

Update October 3, 2012 Apparently, there was already a solution available. Apparently, they teach you this in Sitecore education these days. Apparently, my Google skills sucks. Here’s a better solution: (Kudos @kayeeNL) – – – We had a need to enable

Posted in Sitecore Tagged with: , , ,

Gutter Warnings: Validate That The Item Has A Version (In Current Language)

Had a need to indicate to editors that the item does not have a version in the current language and wrote up a quick Gutter validator. public class NoLanguageVersionValidator : GutterRenderer { protected override GutterIconDescriptor GetIconDescriptor(Sitecore.Data.Items.Item item) { Assert.ArgumentNotNull(item, "item");

Posted in Sitecore

Quick Tip: A Quicker Content Preview

This might come off as a bit obvious, but chances are it might be news to some people; Previewing content in Sitecore is dull. There, I said it. It takes a couple of clicks to get your page previewed (Hit

Posted in Sitecore Tagged with: , ,

Quick tip: Adding Media Items from a URL

I needed to create new media items programatically and a quick trip via Google came up with this excellent piece of content. Only thing is, I needed to fetch the image from a URL, not a file and came up

Posted in Sitecore Tagged with: , ,

Quick tip: Retrieving Sitecore Items from a WCF Service

In order to retrieve Sitecore Items from inside of a WCF Service you can get the database using var db = Sitecore.Configuration.Factory.GetDatabase("web"); and then simply call var item = db.GetItem("sitecore/content/Home/Item");. However, the WCF service is completely unaware of the Sitecore

Posted in Sitecore Tagged with: , ,