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?
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.
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
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.
is working on a reply...