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
In Umbraco 7 GetProperty(nestedContentProperty)?.DataValue?.ToString() will return a list of nesteditems as Json string.
This is no more DataValue in Umbraco 8, is there a replacement for it in Umbraco 8.
While var nodeContent1 = node.Value(nestedContentProperty);
var nodeContent1 = node.Value(nestedContentProperty);
will return list of nestedItems.
It is expensive to convert to json due to Self referencing loop detected for property 'ContentType'....
However,
var nodeContent = node.Value<JObject>(nestedContentProperty);
return null.
Thanks in anticipation for your reply.
Kamal
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Is there a replacement for GetProperty(nestedContentProperty)?.DataValue in Umbraco 8
In Umbraco 7 GetProperty(nestedContentProperty)?.DataValue?.ToString() will return a list of nesteditems as Json string.
This is no more DataValue in Umbraco 8, is there a replacement for it in Umbraco 8.
While
var nodeContent1 = node.Value(nestedContentProperty);
will return list of nestedItems.
It is expensive to convert to json due to Self referencing loop detected for property 'ContentType'....
However,
return null.
Thanks in anticipation for your reply.
Kamal
is working on a reply...