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
How do I loop through properties of a node ?
This is my code, and right now I add name, url and date manually.
I've tried to do a nested loop but it fails.
foreach (var item in events) { items.Add( new { name = item.Name, url = item.Url, date = umbraco.library.FormatDateTime(item.GetPropertyValue("eventDate").ToString(), "yyyy-MM-ddTHH:mm") } ); }
Any ideas ?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Looping through page properties
How do I loop through properties of a node ?
This is my code, and right now I add name, url and date manually.
I've tried to do a nested loop but it fails.
Any ideas ?
is working on a reply...