- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2023 12:20 AM
Hi,
I have the field u_my_groups of type LIst with a reference to sys_user_group table. How can I populate this field with the groups of the current login user. I tried to put in the Default: javascript: gs.getUser().getMyGroups().toString();
but it didnt work.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2023 02:08 AM
@Alon Grod Let me know if you need any help !
if not please close the question by marking the appropriate answer as correct so that it ends up in solved queue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2023 12:32 AM
Following ... I have the same problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2023 12:38 AM
Hello @Alon Grod ,
Can you try putting this in reference qualifier.
May be call a script include in your reference qualifier and then in your script include it can be like
return gs.getUser().getMyGroups().toString();
you can call a script include like below
javascript:new your_newScript_include_name().your_function_name();
Hope this helps
Mark my answer correct if this helps you
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2023 12:42 AM
@Mohith Devatte but it will just return the values and user will be needed to choose the values, my goal is to display the values without giving the user to choose. Can you plesae help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2023 12:44 AM
@Alon Grod Make the field read only so that they will not be able to select any thing