Copied to clipboard

Flag this post as spam?

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

  • nickornotto 397 posts 900 karma points
    Oct 11, 2017 @ 10:15

    Display checkbox list of values in custom list view

    I am trying to do a custom listview for my products.

    Each product has a checkbox list of multiple choice so the value of the property is an array, for example: ["521","527"]

    In my listview I want to display a list of values (text) instead of numbers, eg. "shirt, sleeve".

    So far I have added a function in my angular controller but I'm getting an empty array as a result.

    I followed the documentation and wrote my function:

    function getTypes(item) {
            entityResource.getByIds(item.types, "DataType")
                .then(function (entity) {
                    item.typeList = entity;

    item.types passes a correct value as ["521","527"] while item.typeList displays an empty list [] as a result

    Not sure how to display correct values in this case?

    I'm using Umbraco 7.5.14

  • nickornotto 397 posts 900 karma points
    Oct 17, 2017 @ 12:13

    no one knows how to do it?

  • Ian Robinson 79 posts 143 karma points
    Jan 18, 2018 @ 08:06
    Ian Robinson

    Did you ever figure this out? I have a similar problem so it's a shame no-one appears to have helped you.

  • Søren Tidmand 129 posts 366 karma points
    Jan 18, 2018 @ 08:40
    Søren Tidmand

    Hi Manila and Ian,

    did you read this reply on a similar issue from April 2017?

    I did not try it out myself, but Bjarne's suggestion seems to be relevant to your issue.


Please Sign in or register to post replies

Write your reply to: