Copied to clipboard

Flag this post as spam?

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


  • Dan 13 posts 113 karma points
    Jan 04, 2023 @ 11:20
    Dan
    0

    List view and MultiNodeTreePicker

    Hi!

    Is it possible to get the name of item in MultiNodeTreePicker for a list view? enter image description here

    enter image description here

    I've tried different templates: enter image description here enter image description here

    But no result.

    Umbraco 10.0.1

  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Jan 04, 2023 @ 11:33
    Huw Reddick
    1

    have you tried {{ pickerAlias | ncNodeName }} or {{urlPickerAlias[0]["name"]}}

  • Dan 13 posts 113 karma points
    Jan 04, 2023 @ 14:49
    Dan
    0

    Thank you Huw, it's nice clue with pickerAlias.

    But it still doesn't work.

    Here is a list what I tried:

    {{ feedBackService | ncNodeName }}
    {{ feedBackService[0]["name"] }}
    {{ feedBackService[0]["Name"] }}
    {{ feedBackService[0] | ncNodeName }}
    {{ feedBackService[0].name }}
    {{ feedBackService[0].Name }}
    {{ value[0]["Name"] }}
    {{ value[0]["name"] }}
    {{ value[0] | ncNodeName }}  -- Error
    {{ value[0] | Name }} -- Error. The list doesn't even displayed
    
  • Dan 13 posts 113 karma points
    Jan 04, 2023 @ 15:31
    Dan
    100

    The answer is simple.

    {{ value | ncNodeName }}
    

    But it returns infinity Loading.... for a first usage.

    enter image description here

    I don't know why but to fix that it needs to load any other page and than return back

Please Sign in or register to post replies

Write your reply to:

Draft