List of private blocks on a pagetype


Hi again,

I am trying to add a list of blocks to a pagetype. Is that possible ? 

Adding one block to a pagetype is offcourse no problem:

public virtual MyBlockType MyBlock { get; set; }


Is it possible to add Multiple blocks (again, like a LinkItemCollection) to  pagetype?



Nov 27, 2012 14:05

EPiServer 7 do not support lists of blocks stored locally on a page type, only typed single instances (a block is basically a group of properties when added to a page type so the same restrictions as properties apply).

Nov 27, 2012 15:01

I suspected that.. Any suggestions on how to solve this problem?

Nov 27, 2012 15:23

Depends, what is the problem you are trying to solve?

Nov 27, 2012 15:25

We have an articlepage,rendered as an onepager, where the editors can add various content. For instance: a gallery, any number of textcontent etc.

Our first thought was to solve this through blocks. This could however lead to a very large "blocktree" for the editors to manage, given that there could be quite a lot of articles on the page. Hence a solution like LinkItemCollection would be preferable.


Any thoughts?

Nov 27, 2012 15:30
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.