Try our conversational search powered by Generative AI!

Useing EPiServer properties on custom page


I'm working on a custom page in admin to handle some stuff that is outside of the EPi database. My question is if there is a way to add a "URL to page/external address" property to my page, so people can select a specific page in the site?

Anders Pettersson

Mar 09, 2010 11:39

It's a GUI Plugin that I've made, forgot that.

Mar 09, 2010 11:43

If you look at

You can find the code for CreateSubProperty (is in file PropertyNiceEditMode.cs) that will return a IPropertyControl that you need to do SetUpControl() on.

When you want to save do IPropertyControl.ApplyEditChanges() and the underline property is modified with the new value.

Make a property like PropertyPageReference add it to a empty PropertyDataCollection and use these 2 elements as propertydata and propertydatacollection in above code

Mar 09, 2010 12:21
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.