Copied to clipboard

Flag this post as spam?

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


  • JoskerVemeulen 68 posts 262 karma points
    Mar 13, 2020 @ 15:23
    JoskerVemeulen
    0

    Retreive content.picker Name with Custom List View

    Hi, we have a joblist doctype. In this type you can choose a location(content.picker). We would like to use a custom List View in umbraco to also show this location on the list. How do we need to configure the template for this location on the custom list view? When we use {{Name}} we get a usb link displayed instead of the Name.

    Anyone?

  • John C Scott 473 posts 1183 karma points
    Mar 13, 2020 @ 15:41
    John C Scott
    0

    Yes. The picker stores the data as a link and not text. To turn it into text you need to create a javascript function to look it up for you, but this needs to have quite agressive caching (I forget exactly why - but it's something to do with it being inside a loop so it get's looked up loads). Luckily I had a discussion about this a while back and I've got some code somewhere. I'll have a look and I'll find it for you.

  • John C Scott 473 posts 1183 karma points
    Mar 13, 2020 @ 17:26
  • WilliamMistry 2 posts 72 karma points
    Mar 14, 2020 @ 08:42
    WilliamMistry
    0

    thanks

  • 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