EPiServer properties

Grouping properties using header

3 April 2018 EPiServer, EPiServer properties No comments

There are few ways for grouping properties in edit mode. You could place properties that should be grouped in a separate tabs. Another option is to define new block type that contains related properties and use the block on page. But when you don’t want to have too many tabs or block types you could try to use my custom implementation. In this article I will show functionality of grouping properties using header.
Grouping properties using header
(more…)

Hide tabs and properties in edit mode

28 March 2018 EPiServer, EPiServer properties No comments

Today I’d like to show you a new extension that allows to programmatically hide tabs and properties in edit mode. Using this feature, the editor won’t see the unused controls when working with content.
Hide tabs and properties in edit mode
(more…)

Reverting property to a specific version

7 February 2018 EPiServer, EPiServer properties 1 comment

When editing complex types like ContentArea or XHtmlString it would be good to have preview of all available property value versions. The Editor would be able to revert the property to older version or copy property from other language or even another page. In this article I will show an extension to All Properties mode that allows reverting property value to a specific version.
reverting property to a specific version
(more…)

Switch button property

9 January 2018 EPiServer, EPiServer properties No comments

By default Episerver use dijit checkbox when rendering boolean property. I wanted to add a possibility of defining labels for true and false values. That’s why I prepared a switch button property that displays configurable label for the selection. It can be useful to highlight the selected value.
switch button property
(more…)

Additional header properties

4 January 2018 EPiServer, EPiServer properties 3 comments

Not all properties are visible in the page template and can be edited using PropertyFor helper. Some of them have to be edited through All Properties mode. I thought that it would be useful for editors to have quick access to some properties in On Page Edit. I introduced a way of adding additional header properties.
additional header properties
(more…)

Edit link for blocks in HTML Editor

3 September 2017 EPiServer, EPiServer properties 2 comments

When adding a block to HTML editor it’s rendered as a DIV element with name of the block. After a while it could be hard to determinate from where the block was referenced. I improved block rendering by adding “Edit” link to the block element.
HTML Editor block
(more…)

How to use SelectMany to work with flags enum

31 July 2017 EPiServer, EPiServer properties No comments

EPiServer provides a build-in SelectionFactory for enums and SelectOne attribute for selecting single value. But for flags enum we want to have a checkbox list and be able to select more than one value. In this article I’d like to show how to use SelectMany attribute for editing flags enum property.
property enum flags using SelectMany attribute
(more…)

How to turn off autopublish in ContentArea

25 July 2017 EPiServer, EPiServer properties No comments

When creating new block directly from ContentArea, the block is automatically published and added to ContentArea. This behavior is not configurable. In this article I will show how to add new block as a draft.
Creating new block from ContentArea
(more…)

Generic PropertySoftLinkIndexer for ListProperty

6 July 2017 EPiServer, EPiServer properties No comments

When creating new property type that stores content references then it’s recommended to implement PropertySoftLinkIndexer class. It will be used for indexing links to other content. For example when item type of PropertyList has ContentReference property then we should implement PropertySoftLinkIndexer returning all links from the list. In this article I will show how to implement generic PropertySoftLinkIndexer for PropertyList.
PropertySoftLinkIndexer deleting page
(more…)

Creating a page shortcut using drag and drop

17 June 2017 EPiServer, EPiServer properties No comments

When creating page shortcut, Editor has to open setting tab, then click Manage link on shortcut property and then find a destination page in tree. So when he found a target page in Navigation Pane, then to create a shortcut he has to find it once again in the dialog. I prepared a functionality of creating shortcuts using D&D directly from Navigation Pane.


(more…)