Copied to clipboard

Flag this post as spam?

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


  • Kim Andersen 1447 posts 2196 karma points MVP
    Feb 05, 2010 @ 11:12
    Kim Andersen
    0

    Drop-down list over users in certain Usergroup

    Hi all

    On some of my document types I'd like to have a drop-down list over users in a certain usergroup. I need it to choose a user that is responsible for the page.

    In example:

    "Page 1" is created by the admin and want to make an internal note, that User B is the responsible user to update this page in the future. He finds "User B" in the drop-down list and saves the page. In this way, the admin always knows which user is the responsible one.

    Is this possible? Maybe with the Ultimate Picker or something like that.

    I know that it's vissible who created the page, but in this case, the creator isn't always the responsible user.

    Thanks.

    /Kim A

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Feb 05, 2010 @ 11:26
    Lee Kelleher
    0

    Hi Kim,

    There is a data-type for Userpicker.  It's not set-up as default ... but if you create a new data-type called "User Picker" and select the render control to "Userpicker", add that to your doc-type ... and job done!

    Cheers, Lee.

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Feb 05, 2010 @ 11:31
    Lee Kelleher
    0

    Oops, no, got it wrong.  It doesn't come as default, it's part of the Blog4Umbraco package. I'd forgot that I had it installed. Doh! (sorry).

  • Kim Andersen 1447 posts 2196 karma points MVP
    Feb 05, 2010 @ 11:45
    Kim Andersen
    0

    Hi Lee

    Is it possible to grab that datatype from the big Blog4Umbraco package, so I don't need to install the whole package? Do you know if it's just a dll-file or?

    /Kim A

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Feb 05, 2010 @ 11:51
    Lee Kelleher
    0

    Hi Kim,

    Its currently all part of the blog4umbraco package ... I've sent Per a tweet about a standalone version.

    But yes, I see no problems in extracting the class and compiling it into it's own DLL/data-type. The latest source-code is here.

    Let me know how it goes - if you run into any problems, then I'll have a go at compiling it later today.

    Cheers, Lee.

  • Kim Andersen 1447 posts 2196 karma points MVP
    Feb 05, 2010 @ 12:28
    Kim Andersen
    1

    Thanks Lee

    This works perfectly :)

    Have a nice weekend.

    /Kim A

  • Tom 713 posts 954 karma points
    Feb 01, 2011 @ 23:32
    Tom
    0

    Hi just wondering what the database datatype should be for the userpicker control?

    Cheers,.

    Tom

Please Sign in or register to post replies

Write your reply to:

Draft