Copied to clipboard

Flag this post as spam?

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


  • David Gregory 89 posts 235 karma points
    Jun 14, 2017 @ 15:08
    David Gregory
    0

    Related Links Caption as Name Template

    Hi

    Is it possible to use the Caption from a Related Links property type as the Name Template on a Nested Content?

    Thanks

    umbraco 7.6.3 nc 0.4.0

  • Craig100 1136 posts 2523 karma points c-trib
    Jul 21, 2017 @ 22:04
    Craig100
    0

    I'd love to know this too. Tried quite a few methods but nothing works. Don't know the structure. Would save adding another field just to output it to the UI.

  • Tomasz 2 posts 73 karma points
    Aug 31, 2018 @ 07:48
    Tomasz
    1

    I've had the same problem today and found a solution.

    Let's say your RelatedLinks property is called links, and you want to use caption from the first one as NestedContent item name.

    You can use {{ links[0].caption }} as template and it'll work, tested in latest 7.12.1 version.

  • Myke Bates 11 posts 53 karma points
    Jan 21, 2019 @ 11:56
    Myke Bates
    0

    Perfect!

  • 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