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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...