I have a 6 items of the same content type \"news\", in each item I have a field newsIntro. I want to put the fields in specific pages on another page so I need to target a s
To get fields from content I have used this:
@{
var selection = Umbraco.TypedContent(contentId).Children()
.Where(x => x.IsVisible())
.OrderBy("CreateDate");
}
@foreach(var item in selection){
@item.GetPropertyValue("fieldName1")
@item.GetPropertyValue("fieldName2")
@item.GetPropertyValue("fieldName_N")
}