Skip to content

Replace Nested Content with Block List #64

Open
@bjarnef

Description

@bjarnef

Issue description

In the code samples Nested Content is used and delivered as IEnumerable<IElement>:

However I can't find any examples how to get content from Block List property and how to loop the blocks or just select content as IEnumerable<IElement> .. and then in razor view or controller cast a specific block type?

Since Nested Content is deprecated and will be removed in an upcoming release or Umbraco (and probably in Heartcore as well), I think it should be practise as use Block List instead.

Based on the roadmap it seems Block Grid soon is supported as well:
https://umbraco.com/products/knowledge-center/roadmap/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions