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
Hello,
Would anyone be able to point me in the right direction for rendering out Nested Content that has been selected as a parameter in a macro partial?
I can render out the non-nc content on a macro dropped onto a grid, but i'm unsure how to get the nested content?
Thanks in advance.
Hi Richard,
have you tried something like. (version 8.1)
IPublishedContent nc = Umbraco.Content(Model.MacroParameters["nc-test"]); @foreach (var item in nc .Value("nc-content")) { <h1>item.name</h1> }
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
Render Nested content that's a paramter on a macro
Hello,
Would anyone be able to point me in the right direction for rendering out Nested Content that has been selected as a parameter in a macro partial?
I can render out the non-nc content on a macro dropped onto a grid, but i'm unsure how to get the nested content?
Thanks in advance.
Hi Richard,
have you tried something like. (version 8.1)
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.