Skip to main content
February 27, 2023
Question

Multiple Groups users in user picker

  • February 27, 2023
  • 2 replies
  • 0 views

Hi,

I have 2 groups one is parent and child. Parent grp having test users and second grp having SSO users. How do i show users from both groups in user picker.

I can’t merge or delete groups. Client having thier own way of handling these grps.

Thanks

    2 replies

    stefanhelzle0001
    Brainy
    February 27, 2023

    Did you try to just use the parent group?

    In general, you can nest groups to see members from multiple groups in a picker.

    adityag9712
    February 27, 2023

    Please create a constant for Parent group, keep the visibility as public for the group and add the group to user, like below example. 

    {
      a!pickerFieldUsers(
        label: "User Picker",
        labelPosition: "ABOVE",
        groupFilter: cons!BMA_ALL_USER_GROUP,
        saveInto: {},
        validations: {}
      )
    }