Episerver Properties

Episerver properties are similar to the .NET equivalent, it can be of any type that is declared directly in your templates/blocks.  Some examples of Episerver properties that come out of the box include strings, rich text, content areas.  If out the box properties don’t meet your needs, then you can create your own custom properties fairly easy.  This section covers any questions you might have about properties, what properties are available, how to implement them in your templates/blocks and how to create custom ones.

Episerver: How To Render A List Of Objects In a Page Or Block... PropertyList Explained

When Episerver moved towards a Page/Block architecture, it provided a lot more flexibility of how content editors could use and manipulate. One feature that was available in Episerver 6 (using a custom extension) but was dropped, was the ability to display a list of C# classes as a property within the CMS that content editors […]

How To Get The Friendly Url From Url Property in EPiServer 9

In Episerver, we have a number of different ways of allowing content editors to add and set links on a website.  In today's guide, I'm going to cover how to add an Episerver.Url property to a page-type or block, and then how to render that Url on your website so it uses the friendly Url […]

How To Create A Custom Episerver Property

Out of the box, Episerver provides a number of useful Properties we can use to decorate our Pages and Blocks, PropertyBoolean (Boolean),  (ContentArea), PropertyCategory (Category), PropertyContentReference (Content Reference) What happens if you want to store data that doesn't quite fit into one of the pre-existing properties?  In today's tutorial, we're going to go over how […]

How To Display A List Of Links In Episerver?

Displaying a list of links on a page is a very common requirement on most websites. The most common example I see is a list of most frequently used links in the footer, like so: Luckily, Episerver has a very easy property to allow us to achieve this type of effect very easily within the […]

How to Create a Selection Factory From a Page Type in Episerver

A new feature to Episerver is the Selection Factory.  In this blog post, we are going to give a quick and dirty example how you can create your own selection factory from a page type in Episerver. To use a selection factory, you will need to decorate a property with either the SelectOne or SelectMany […]

Dummy's Guide To Creating A Custom Dojo EPiServer Property

Dojo is a bit of an evil word around most of the Episerver teams I've encountered, but, with a bit of persistence, you can write your own custom properties and introduce other cool and funky editor functionality. This tutorial will give you a step-by-step idiot's guide (it's the only way I learn) on how to […]

How To Create a Dropdown List or Checkbox Control For Editors Populated By PageTypes or Enums

A very frequent requirement on projects is to give content editors the ability to pick from a list of 'things'.  This list is usually either a drop-down or check-box list.  In the majority of situations, the data required to populate a drop down list or check box list is populated from either page types or enum.  In […]

Episerver Properties A Quick Reference

Following up on my Episerver : PageTypeBuilder Reference Cheat Sheet where I discussed in some length about the various type of attributes and properties you can decorate a page type with. In today's article, we are going to discuss the attributes, back types and properties you can put on the members of your page type definitions. Backing […]

How To Hide A Property In Episerver CMS And How To Make A Property ReadOnly

Over the years, I've often needed to do various things to a property, like make a property read only, or, to hide it from content editors completely. Luckily Episerver provides us some handy attributes to help us. Hiding A Property This can be done by adding the [Ignore] attributes on top of your properties, like […]

EPiServer : Creating A Custom Checkbox Category PageType Picker Control

EPiserver is great at a lot of things but I think it's tagging does let it down a bit without having to buy one of the bulk upgrade products.   In EPiserver all you can do is define a single global category that is available to all page templates.  We had a requirement to create […]