- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2018 11:30 AM
I need to change the default view ( the order of the fields in list view) for 3 assignment groups:
Any ideas pls?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2018 12:13 PM
I assume if logged in user if part of any of those three assignment group then this view should be application.
then configure the view rule as below.
script:
(function overrideView(view, is_list) {
// Add your code here
//answer = null; // set the new view to answer
if(gs.getUser().isMemberOf("sys_id of first group") || gs.getUser().isMemberOf("sys_id of second group") || gs.getUser().isMemberOf("sys_id of third group") ){
answer = "test"; //change view name
}
})(view, is_list);
Thanks,
Ali
Thank you,
Ali

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2018 12:13 PM
I assume if logged in user if part of any of those three assignment group then this view should be application.
then configure the view rule as below.
script:
(function overrideView(view, is_list) {
// Add your code here
//answer = null; // set the new view to answer
if(gs.getUser().isMemberOf("sys_id of first group") || gs.getUser().isMemberOf("sys_id of second group") || gs.getUser().isMemberOf("sys_id of third group") ){
answer = "test"; //change view name
}
})(view, is_list);
Thanks,
Ali
Thank you,
Ali