- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2023 01:09 PM
Hey guys!
I have a problem, users are managing to change the view of the tables to "Sys_popup". The problem with this is that, when viewing the record form through this view, they are able to submit/save/update the records without some mandatory fields filled in, as these fields do not appear and are not mandatory in the "Sys_popup" view, only in the "Default_view" .
Because of this, I would like to have a solution to not allow users to change the view to the "Sys_popup" view.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2023 02:54 AM
Hi @Vinicius5 ,
There is one more way. See if you are ok with that and check it if solves your problem. This doesn't include any coding.
You can Type views in the navigator and open views under System UI --> Views and Search for sys_popup.
I think the below record will take you directly to that view.
In this, you can Hide this view or give roles like only admin can see this view. See the attached screenshot for reference.
Try this and see if it works out for you.
Mark helpful and accept the solution if it helps in Solving your query.
Regards,
Johns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2023 12:56 AM
Hello @Vinicius5
- You can create "View rule" with conditions or Advance script load forms in specific view.
- You can create one view rule for ordinary users.
- You can refer to the following sample view record change those highlighted fields accordingly as per your requirement. In the below view rule users with itil role can view incident form only in jvr view they can't choose another view.
For more information on View rules, you can refer to the following documentation links
Create a view rule
Control when the system displays a view
If I could help you with my response you can mark it as helpful and correct as it benefits future viewers
Thanks,
Sai Kumar B
Community Rising Star 2023 & 2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2023 02:54 AM
Hi @Vinicius5 ,
There is one more way. See if you are ok with that and check it if solves your problem. This doesn't include any coding.
You can Type views in the navigator and open views under System UI --> Views and Search for sys_popup.
I think the below record will take you directly to that view.
In this, you can Hide this view or give roles like only admin can see this view. See the attached screenshot for reference.
Try this and see if it works out for you.
Mark helpful and accept the solution if it helps in Solving your query.
Regards,
Johns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2023 05:20 AM
Does this change have any side effects? I just need to hide the "Sys_popup" view from the user's selection by the form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2023 05:43 AM
Hi @Vinicius5 ,
It just basically hides this view from the form. So none of the new users can select it.
Regards,
Johns