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
Hi,
I am using Umbraco.Content(id).ChildrenAsList()
to return a collection of nodes.
I want to iterate through each node but before I perform some operations on it I want to check if it has been published.
How can this be done?
Thanks a lot!
Hi Damon,
Umbraco.Content will return only published nodes so you don't need to check.
Umbraco.Content
Jeavon
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Check if node is published or not?
Hi,
I am using Umbraco.Content(id).ChildrenAsList()
to return a collection of nodes.
I want to iterate through each node but before I perform some operations on it I want to check if it has been published.
How can this be done?
Thanks a lot!
Hi Damon,
Umbraco.Content
will return only published nodes so you don't need to check.Jeavon
is working on a reply...