How can we set CEA_view as the default view for forms in ServiceNow instead of the current default?

Ria
Tera Contributor

How can we set CEA_view as the default view for forms in ServiceNow instead of the current default?

 

 

 

10 REPLIES 10

@Ria 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 

 

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

@Ria 

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.

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@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.

VirajHudlikar_0-1742294170305.png

 

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.

@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.