Hi,
Thanks for that code snippet. it runs very fine :)
But i can't access the document properties in this way:
var nodes = _provider.SelectNodes()
.Type("my.ArchivNews")
.Type("my.News")
.Path(_settings.CmsRootNode, PathTypeEnum.Children)
.Culture("de-CH")
.NestingLevel(5);
foreach (var treenode in nodes)
{
var headline = ValidationHelper.GetString(treenode.GetValue("Headline"), String.Empty);
// headline is always null
}
The result is allays null. If I select a single node (with TreeProvide.SelectSingleNode()) inside the loop for each node, I'm able to read the custom properties from the selected nod.
How can I get the custom properties with TreeProvide.SelectNodes?