Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
In v7.7+ when is it a better idea to use Nested Content vs a Listview? Especially in the case when a content node is supposed to only host children of a single type?
Hi
I guess the differences between list view / nested content in this case are :
List view items will produce URLs for each of the nodes you create (1) - nested content items won't have their own url
List view items will be included in the search indexes (by default) so will appear in search results (again pointing to the URL).(2)
List items will be returned in any .Children() or .Descendants() type calls as they are full content nodes.
Nested Content items will be returned only by getting the property - so can effectively be hidden from all of this.
So if you don't want the item to behave like a page in Umbraco use Nested Content, if you do use List Views.
(1) you can always create a blank template with a redirect top the parent page if you want list items but don't want them to render on their own page.
(2) you can make nested content appear in searches (i think!) but i suspect it needs a bit of configuration?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Nested Content vs ListViews
In v7.7+ when is it a better idea to use Nested Content vs a Listview? Especially in the case when a content node is supposed to only host children of a single type?
Hi
I guess the differences between list view / nested content in this case are :
List view items will produce URLs for each of the nodes you create (1) - nested content items won't have their own url
List view items will be included in the search indexes (by default) so will appear in search results (again pointing to the URL).(2)
List items will be returned in any .Children() or .Descendants() type calls as they are full content nodes.
Nested Content items will be returned only by getting the property - so can effectively be hidden from all of this.
So if you don't want the item to behave like a page in Umbraco use Nested Content, if you do use List Views.
(1) you can always create a blank template with a redirect top the parent page if you want list items but don't want them to render on their own page.
(2) you can make nested content appear in searches (i think!) but i suspect it needs a bit of configuration?
is working on a reply...