Try our conversational search powered by Generative AI!

Cannot add blocks to the custom page type


So I have created a page type and I am using this code for that

 [ContentType(DisplayName = "Dashboard Page", GUID = "84e59e7c-0dac-4574-b87e-6c3c141e405c", Description = "Dashboard of custom logged in users")]
    public class DashboardPage : StandardPage


The issue I am facing is that I cannot add Block to the pages created under this page type. Am I missing something?

Nov 08, 2017 14:33

I'm not sure I understand your issue here. Can't you add blocks to pages of type DashboardPage or can't you add blocks to children created below a page of typ DashboardPage? If it's the former you have to create a property that can handle blocks, e.g. a ContentArea property, given that StandardPage doesn't have a ContentArea already.

Nov 08, 2017 16: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.