- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2019 04:25 AM
i have created a default group fields in the user app. if user have multiple group. i want to select one group as a default group. so how to get all the group details for that default group.
Solved! Go to Solution.
- Labels:
-
Field Service Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2019 05:26 AM
Greetings Hemantnh,
You will need to write or find a function that takes a sys_id or user_name and returns groups. Glide User does this, but you will need to use an advanced reference qualifier to do something along the lines of -
var me = gs.getUser();
me = gs.getUserById(current.user_name);
me.getMyGroups();
Or find or write a script include that you will call from the reference qualifier - and pass it current.user_name and get back list of groups.
-Andrew Barnes
Join me at Developer Blog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2019 04:46 AM
Unclear what you want. Do you want the system to select a group at random? Or according to a condition?
If not, then why aren't you populating it manually?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2019 04:50 AM
by click on the default group lookup, i wan the list of group,user part off, so that i will select manually one group as default group.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2019 05:26 AM
Greetings Hemantnh,
You will need to write or find a function that takes a sys_id or user_name and returns groups. Glide User does this, but you will need to use an advanced reference qualifier to do something along the lines of -
var me = gs.getUser();
me = gs.getUserById(current.user_name);
me.getMyGroups();
Or find or write a script include that you will call from the reference qualifier - and pass it current.user_name and get back list of groups.
-Andrew Barnes
Join me at Developer Blog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2019 04:48 AM
What details? You just populate group manually and then you will be able to see "i" icon and see details for it.