Try our conversational search powered by Generative AI!

Property lists in edit mode

Fixed in

EPiServer.CMS.UI 12.18.0

(Or a related package)

Created

Nov 03, 2022

Updated

Mar 28, 2023

Area

CMS UI

State

Closed, Acceptance tests pass


Description

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
{...}
  • Track usage (soft link indexing) for items that can reference content (such as IList<ContentReference>). 
  • Import and export list definitions and data.

See List properties.