Copied to clipboard

Flag this post as spam?

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


  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 09, 2012 @ 06:58
    Fuji Kusaka
    0

    Accessing Member Groups

    Hi all,

    I have a Intranet System working with V4.7.1 where there are 4 Member Groups (sub Companies). From my umbraco dashboard on the Company Content Node i need to display and employee profile by accessing the member. 

    So what i would like to know is, is there a way of having 2 drop down on my dashboard, 1 with the Membrer Group, and so by selecting a group the other drop down will list the Name of the Members associated to the group. Can this be done with uComponents?

    I tried with Tyoe Member Picker and it works well, but the only thing is this is not practical since i have to go through a list of 500 or more employees!!

    Any suggestion on this?

    //fuji

  • Bex 444 posts 555 karma points
    Mar 09, 2012 @ 12:50
    Bex
    0

    Hi Fuji

    I am not entirely sure if I understand what you are looking for but I think this would be quite simple witha custom usercontrol.

    You could populate the first with Roles.GetAllRoles() and then when they change that do an autopost back and then get all the members in that group using: Roles.GetUsersInRole( role name )

    If you want to narrow it down you can then search by letter or something?

    Then use the API to get the user properties form a Member object and list them?

    Bex

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 11, 2012 @ 11:12
    Fuji Kusaka
    0

    Hi Bex,

    What am trying to do here is get 2 drop down list on my dashboard on the default node content.  Just as a filtering, so the first drop down will be displaying all the Member Groups from the Members Section. By choosing a Member Group Type the other drop down will then display the Associated Member Name.

    Am not sure on how to get to do this, is there any package that i could use? Or need to create a custom usercontrol that will be accessible on my default dashboard.

    So by choosing the Member Name i get to display all the fields like Name, Address, Title etct....

    //fuji

  • Bex 444 posts 555 karma points
    Mar 12, 2012 @ 09:50
    Bex
    0

    Hi Fuji

     

    I'm not sure of any packages, but that said I don't use many packages,but this would be very simple with a user control.

    Checkout the API, there wll be a way of getting the member properties, and just ue standard asp.net membership to get the membergroups and members.

     

    Bex

     

     

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Mar 12, 2012 @ 11:38
    Hendy Racher
    0

    Hi Fuji,

    How about the AutoComplete datatype in uComponents ? (can be used to pick members).

    Hendy

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 13, 2012 @ 09:01
    Fuji Kusaka
    0

    Hi Hendy,

    I tried AutoComplete but not sure this is the way to get this working. What am looking for is to have 2 drop down List to display 1. Member Group 2.Members.

     

    //fuji

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Mar 13, 2012 @ 10:29
    Lee Kelleher
    0

    Hi Fuji,

    At the moment there isn't a data-type in uComponents that will provide the 2-tier filter for selecting a member group, then populating a list of those members.

    The closest package that I could offer you similar functionality is the Filtered Member Picker data-type. (I couldn't find a package download, but Simon might be able to help?)  However this data-type only lets you select a member group from the prevalue-editor, not from the content-editor (dashboard).

    Otherwise, it's custom development... unless someone else knows of another package?

    Cheers, Lee.

  • Fuji Kusaka 2203 posts 4220 karma points
    Mar 13, 2012 @ 11:02
    Fuji Kusaka
    0

    Hi  Lee,

    So the best approcach for this will be to make a custom usercontrol and add it in the web.config to make it available on dashboard right?

    However this member group picker should only be available on the first (default) node in my content.

    Thanks

     

    //fuji

Please Sign in or register to post replies

Write your reply to:

Draft