You can get all nodes value using below code by using UmbracoHelper class.
var umbracoHelper = new Umbraco.Web.UmbracoHelper(UmbracoContext.Current);
var Node = umbracoHelper.ContentAtRoot(); // Get Root Node
foreach (IPublishedContent root in Node) {
foreach (var item in root.Children)
{
// here you can get property
item.GetPropertyValue("PropertyAlias");
}
}
Gell all nodes plzzz
I create a block in every node of my content , and in this block there is a box to check ,
display the block ?
so how to gett all nodes which the check box is true ?
thank you
Hi Khansaa111,
You can get all nodes value using below code by using UmbracoHelper class.
Hope it will help.
Regards,
Urvish Mandaliya
is working on a reply...