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
Hey guys,
I'm working on a legacy project running v 4.7.2
I'm using Query in a Razor view
uQuery.GetNode(Model.Id)
This works, however I don't have the same properties that I would have if I got the node as Ipublished content, I need to order the children of the node and can't do it because Node does not have the .orderby method.
Any ideas?
Hi Ayo,
v.4.7.2 Hasn't IPublishedContent interface as I know.
You can use GetChildNodes() of umbraco.presentation.nodeFactory.Node
Look here :
https://ucomponents.codeplex.com/wikipage?title=uQuery
Thanks, Alex
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Convert Node to Iphblished content
Hey guys,
I'm working on a legacy project running v 4.7.2
I'm using Query in a Razor view
This works, however I don't have the same properties that I would have if I got the node as Ipublished content, I need to order the children of the node and can't do it because Node does not have the .orderby method.
Any ideas?
Hi Ayo,
v.4.7.2 Hasn't IPublishedContent interface as I know.
You can use GetChildNodes() of umbraco.presentation.nodeFactory.Node
Look here :
https://ucomponents.codeplex.com/wikipage?title=uQuery
Thanks, Alex
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.