Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Martin Rud 103 posts 295 karma points
    Nov 30, 2020 @ 13:42
    Martin Rud
    0

    Nested content property: How to get item names from MNTP into template?

    Hi forum,

    One of the doctypes in mu nested content property is a doctype with only one property: A MNTP property.

    enter image description here

    When an editor picks nodes I would like the template field to show them as a list of names. I.e. if the editor has picked the "About us" and the "Our services" pages then the template should show something like

    About us, Our services

    Is that possible?

  • Amir Khan 1199 posts 2567 karma points
    Nov 30, 2020 @ 14:40
    Amir Khan
    100

    I think something like this is what you want?

    {{ pickerAlias | ncNodeName }}
    

    Docs here: https://our.umbraco.com/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Nested-Content/

  • Martin Rud 103 posts 295 karma points
    Nov 30, 2020 @ 14:57
    Martin Rud
    0

    Yes! :) Thank you! :)

  • 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.

Please Sign in or register to post replies