- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2017 11:50 PM
We want end users to be unable to switch views in the list view of form.
We want to hide the enclosed image in the red frame of the attached image.
We use incident management on two teams.
We assigned different roles to each team.
We separate the view of the form used for each team.
We have an application menu for each team. And we are assigning team roles.
We now display different forms of views for each team.
However, if the end user switches the view, it overrides the view designation in the application menu.
We want to prevent this.
thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2017 11:54 PM
Please check if the below helps.
Restricting user by role to a specific view is not working
Hope this helps. Mark the answer as correct/helpful based on impact.
Thanks
Antin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2017 11:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2017 11:30 PM
Hi Kalaiarasan and Nayan,
I would like to switch the view from the role of the login user.
In that case, I think that a script is necessary.
I would like to know the case which is using the script.
thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2017 12:46 AM
Advanced script for view rule.
answer = view;
if (gs.hasRole == 'rolename')
answer = 'view name';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2017 01:15 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2017 01:45 AM
Change v= something to answer=