Copied to clipboard

Flag this post as spam?

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


  • Christopher Bryan 4 posts 85 karma points
    Dec 15, 2016 @ 14:29
    Christopher Bryan
    0

    Nested Content - Name Template - Dropdown list display value not ID

    I'm new to Umbraco and Nested Content it very useful. I have a set where the first item is a simple dropdown list (to select a type of social media). If I set the Name Template to something like {{type}} where type is the name of the dropdown I get the id. How do I get the value (text) for the field.

    Thank you in advance.

  • Dennis Adolfi 1072 posts 6378 karma points MVP 2x c-trib
    Dec 15, 2016 @ 18:45
    Dennis Adolfi
    100

    Looking at the issues tracker for Nested Content, it doesn't seem possible im afraid.

    https://github.com/umco/umbraco-nested-content/issues/42

    That's just how it works I'm afraid, as the nameTemplate only runs on the SAVED value, which a dropdown saves the prevalues ID, not it's value. /mattbrailsford

    Sorry.. :(

  • Christopher Bryan 4 posts 85 karma points
    Dec 15, 2016 @ 19:26
    Christopher Bryan
    1

    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