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
I got these lines of code:
@{
var myNode = @Model.NodeById(1080)
}
@foreach(dynamic item in myNode.GetProperty("subfotos1").Value){some content}
@foreach(dynamic item in myNode.GetProperty("subfotos1").Value)
{
some content
Why can't I use 'getProperty'? I know I could just use 'myNode.subfotos1', but I need to use 'getProperty' for this.
What am I doing wrong?
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
How to use 'getProperty' with 'Embedded Content'?
I got these lines of code:
var myNode = @Model.NodeById(1080)
Why can't I use 'getProperty'? I know I could just use 'myNode.subfotos1', but I need to use 'getProperty' for this.
What am I doing wrong?
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.