Reviewing pages in EPiServer – how to comment?

(If this post seems out of context, return to introduction post and hopefully it will make more sense) How do users comment? So, from the last post we currently know that some sort of user wants to comment upon an article. Since the previous commenting system was disconnected to what the editors say when working …

Reviewing pages in EPiServer – background

In this series of post I’m going to discuss how me and my fellow team mates (Karl Ahlin, Anna Lantz, Jonathan Larsson, Oskar Bejbom, Mathias Kunto and Joachim Widén) handled a requirement to review text found in EPiServer pages. There won’t be too much concrete code but rather a disussion on a higher level of …

Moving to property groups

As I mentioned in the previous post I’ve recently “moved” to using property groups. Since the site was already live I already had a bunch of properties that were to be replaced with the group ones. If we simplify reality for a bit we can imagine that the page in it’s current state had a …

Why I like PropertyGroups

In my current project some of our EPiServer pages types can undergo a review process. There are a bunch of meta data connected to this process that we store as proeprties on the page. The problem is that even though we use PageTypeBuilder (and can utilize inheritance) the pages do not share a common base. …

Some gotchas with PropertyGroups

Property group classes must have an empty constructor I think this is a bug or perhaps rather a missing feature. But in it’s current state you can’t inject constructor arguments even when you use the StructureMapTypedPageActivator. I’ve opened a pull request that “solves/add” this feature so you can get a general idea of what is …

Kiss – EPiServer is about pages

The requirement from the customer was fairly straight forward: on a page an editor should be able to choose any number of categories (not the built-in kind). The selectable options should be editable in episerver. Since we’re using EPiServer CMS 6 R2 I thought that this requirement was a good match for the new PropertyCheckBoxList …

Don’t dispose your Dynamic Data Store Factory

DynamicDataStoreFactory.Instance is by default implemented by EPiServerDynamicDataStoreFactory. This class implements IDisposable and if you call dispose on this class you will notice that you application starts giving a lot of null reference exceptions when trying to get stores. But I’m getting ahead of myself, let’s start with a very important question. Why would you dispose your …