Copied to clipboard

Flag this post as spam?

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


  • Brian Juul Andersen 44 posts 98 karma points c-trib
    Dec 17, 2022 @ 09:34
    Brian Juul Andersen
    0

    Populate checkbox list

    Hi All :)

    I am trying to assign users to projects (content node) by chosing them from a list. Right now I am choosing from a manually created checkbox list for testing. I want to do this list to be programmatically populated during application startup.

    Ideally I would like to use a multi-user picker as it seems to be the right thing to use but it does not seem to be available in a standard Umbraco installation.

    I have already hooked into the Umbraco events and I think I got that part sorted already.

    So .. how can I programmatically populate a checkbox list during application startup?

    [Edit] Running Umbraco version 10.2.1

  • Luuk Peters 85 posts 331 karma points
    Dec 21, 2022 @ 16:03
    Luuk Peters
    0

    There is a user picker (just not a multiple user picker). I've had the same requirement recently. I fixed this by using nested content. So a nested content element would have a user picker and by creating multiple nested content nodes, you can still select multiple users in a way.

    Yes it's a bit of a workaround and not perfect, but it's fool proof and saves a lot of custom stuff.

  • 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