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
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
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.
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.
{{ links[0].caption }}
Perfect!
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
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
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.
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.Perfect!
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.