EPiServer.CMS.UI 12.18.0
Nov 03, 2022
Mar 28, 2023
CMS UI
Closed, Acceptance tests pass
Built-in support for list properties on content models was limited to primitive types such as string, number, and ContentReference. List properties are now supported as individual properties (such as int, string, XhtmlString and so on) including Block types. You can now define properties on content models like:
public virtual IList<string> MyStrings {get; set;} public virtual IList<TeaserBlock> MyTeasers {get; set;}
where TeaserBlock in example above is a defined block in CMS, like:
[ContentType] public class TeaserBlock : BlockData {...}
See List properties.