Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

How to create custom nested content in umbraco?


Asked by Eleanor Rhodes on Dec 08, 2021 FAQ



We will take the content of the StartPage and pipe it down to the StartPageViewModel and create a custom property called Blocks. This property will be of the IEnumerable<IPublishElement> of Umbraco's Core implementation since we want our nested content properties to contain the object's entire properties.
Consequently,
Nested content is the native way of adding collections of more than one item into a document in Umbraco 8. You define a data type for your nested content, which in turn could be used by one or more document types. It looks like this:
Also Know, Our third and final stage to creating our first page in Umbraco, is to create a content node that uses our Document Type and Template, to serve up an HTML page to web visitors. Go to Content. Select the ... next to the Content headline in the tree. Select HomePage .
In addition,
Over the years there have been many examples of complex editors, both community packages and in Umbraco CMS: The Grid Layout editor, Nested Content, Stacked Content, Archetype, Bento and many more.
Next,
To set-up your Nested Content property, create a new Data Type and select Nested Content from the list of available property editors. You should then be presented with the Nested Content property editors data-type editor as shown below.