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
I'm trying to sort a number of nodes based upon each nodes nested content property value but I am failing miserable...
Can we see the code you are using thus far to try achieve this?
This is what I have right now. I feel like it wouldn't be much help if I showed all the different solutions I have tried in achieving this so far. So this is the setup without trying to sort the nodes.
// Get all info nodes in rootnode
var infoPosts = rootPage.Descendants("infopost_d");
// Each info post (how to sort these based upon each info post nested content DateTime property)
foreach (var infoPost in infoPosts)
// Get info post nested content
var infoPuffs = infoPost.GetPropertyValue<IEnumerable<IPublishedContent>>("infoPuff");
// Each nested content (each info post can only have one nested item so this foreach might not be necessary?)
foreach (var infoPuff in infoPuffs)
// Get nested DateTime property
// Render html
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted