EPiServer properties

Compare properties with markup

23 October 2015 EPiServer, EPiServer properties 8 comments

Our customer editors very often use Compare Versions functionality. The CMS has workflows enabled, so when editor change the content, he need to mark it as Ready to publish. Then one of the supervisor using Tasks list gadget will approve or reject the changes. There are many editors and just few supervisors. They daily have a lot of items to approve. And usually those are really minor changes like single word, comma or typo was corrected. (more…)

Increasing the drop area for ContentArea

11 October 2015 EPiServer, EPiServer properties 4 comments

Our customer editors complained that they have problems with using drag and drop functionality of ContentArea. They quite often use Remote Desktop connection to access the edit mode. The placeholder for ContentArea dragged element is relatively small. With the combination of RDP display lags makes using this feature difficult.

ContentArea drag and drop small area (more…)

Content references list with preview

30 September 2015 EPiServer, EPiServer properties 1 comment

Few months ago I prepared ContentArea property with image thumbnails and image preview support. The new EPiServer has Content References list property which already implements thumbnails for list items. In Content references list with preview property I tried to extend standard editor and add support for image preview as well. (more…)

How to hide Display Options for specific ContentArea

21 September 2015 EPiServer, EPiServer properties 1 comment

The “Display Options” is a global settings list defined in DisplayOptions service. It’s used together with ContentArea property to set the layout for the content items. Sometimes editor should not be able to set options on each ContentArea because in some cases they might not be used in the template implementation. Last week I prepared a code for hiding Display Options for specific ContentAreas.

(more…)

Comparing list properties

6 September 2015 EPiServer, EPiServer properties 2 comments

Probably in every EPiServer project there will be a need to store a list of links to your content pages. EPiServer.CMS.UI 8.6.0 introduced a new multiple ContentReference property. Usually we could use a single property to store a collection of links. For example when building a media slideshow or when displaying links in a site footer. Using EPiServer there are several possibilities of implementation. Until now there were two built-in properties – ContentArea and LinkItemCollection, and the new multiple ContentReference is yet another interesting solution. I’ll try to compare those properties.

(more…)

Using dojo topic.publish and topic.subscribe

18 August 2015 EPiServer, EPiServer properties 3 comments

As we know EPiServer edit mode components, both built-in and custom, are implemented in a modular way. It means that they are isolated to each other. Yet when developing new features sometimes there is a need of creating dependencies between the widgets. It’s necessary when changing state of one widget should affect state of another one. For example when our component depends on current context. When editor selects a node from three structure the component should be notified about this event and take a proper action. (more…)

Content Selector property with preview

31 July 2015 EPiServer, EPiServer properties 9 comments

I prepared a small improvement for Content Selector property. Standard property is a label displaying selected content name and a button used to selecting a content.
ContentSelector - property
After editor selects an item it’s hard to determinate the ID of the selected content. To do this you need to open the content tree dialog once again, hover over selected tree node and check the tool-tip value. You may copy ID, replace it in the browser URL and edit the page… It’s really time consuming. (more…)

How to extend CheckboxList

10 July 2015 EPiServer, EPiServer properties No comments

A while ago I saw a forum question about how to Enable/Disable SelectItem in SelectionFactory. I thought that it could be interesting to describe how to implement it. (more…)

Inline checkbox editor

24 May 2015 EPiServer, EPiServer properties No comments

In the last post I described how to extend the All properties view. I changed the behavior of forms editing by subscribing to events between widgets. But code did not affect the On Page edit view. It was possible to edit message details, while it was not possible to change the ShowMaintenanceMessage bool property state. (more…)

Content Area as Image list

15 April 2015 EPiServer, EPiServer properties 4 comments

We have a lot of list properties in my current project. And most of them are edited entirely in the forms view which means that the editors are not able to preview the chosen images before publishing.
(more…)