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 alll. I used query
var nodes= Model.Content.Descendants().Where(x => x.Level == 3);
to get all node childs, but i can't get the own properties of these nodes.
var isNull = false; @foreach (var item in nodes) { isNull = item.IsNull("Content") ? true : false; }
the result always is "true" (NULL). please help me. I want get the properties in Document type. Thanks all.
Try this inside the foreach loop: item.GetPropertyValue("Content")
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
Get all properties of document type.
Hi alll. I used query
to get all node childs, but i can't get the own properties of these nodes.
the result always is "true" (NULL). please help me. I want get the properties in Document type. Thanks all.
Try this inside the foreach loop: item.GetPropertyValue("Content")
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.