How can we set CEA_view as the default view for forms in ServiceNow instead of the current default?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2025 08:36 AM - edited 03-16-2025 11:25 AM
How can we set CEA_view as the default view for forms in ServiceNow instead of the current default?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 04:18 AM
not possible.
As already mentioned by me in my below comment, if view rule is applied and if it's applied then user can't see that View on right click and hence cannot switch the view.
Logically if you see if the view rule is enforced why should use be able to switch view? It should not.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 06:03 AM
Is it possible to set the CEA_view as the default view in the form while ensuring the list remains visible without using view rules?
Regards,
Riya Jain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 06:04 AM
not possible as already informed.
It's not allowed by platform and is OOB behavior
Please inform your customer about this
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 03:36 AM
@Ria - Since are we are imposing view rule with view name it will impose that view on record. Now if you need to allow to change view for specific user records who are having particular role then you can check advanced checkbox and apply script lets says if user hasrole admin then no view rule to be applied and they can change view but if condition is not matching we apply view we want and that cannot be change.
I am not sure if view_changer role is provided will user be able to change view even if view rule is applied give a try and see if it works still.
Check some ootb view rule which has script and try to create it as per your requirement see below example.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 04:31 AM
@Ria - As stated earlier for role it won't work as view rule works on top all all so if imposed user or admin also cannot change view. If you need to get it change you need to tweak script and allow change of view by passing return statement as showcase in earlier response in image.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.