Try our conversational search powered by Generative AI!

A Site reference + Label property kombo


A common case is to have pagereference combined with a label. Is the a default property in episerver that handles this. If not what are your experiences?

Jan 24, 2014 12:15

Just create a block type and use this type as a property for your page type(s):

public class PageLinkWithText : BlockData
public virtual string Text { get; set; }

public virtual PageReference Link { get; set; }

Jan 24, 2014 13:08
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.