Month: June 2017

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…)

How to create SelectionFactory with parameters?

8 June 2017 EPiServer, EPiServer properties No comments

To create a property with list of available options we usually use SelectionFactory. One SelectionFactory class can be used on many properties. But sometimes, for specific property, we want one or two extra selection items. The SelectOne and SelectMany attributes have SelectionFactoryType property which is a factory type not the factory instance. In this article I’d like to show how create SelectionFactory with parameters. (more…)