Umbraco Nested Looper

A simple snippet for getting the information from a Multi Node Tree Picker in Umbraco 7.x+

@{
var typedMultiNodeTreePicker = item.GetPropertyValue<IEnumerable<IPublishedContent>>("seminarVenueList"); foreach (var seminar in typedMultiNodeTreePicker) { var itema = Umbraco.Content(seminar); <p>@seminar.GetPropertyValue("nodeName")</p> <p>@seminar.GetPropertyValue("Url")</p> <p>@seminar.GetPropertyValue("addressLine1")</p> <p>@seminar.GetPropertyValue("addressLine2")</p> <p>@seminar.GetPropertyValue("town")</p> <p>@seminar.GetPropertyValue("postCode")</p> }
 }