The CreatorCon Call for Content is officially open! Get started here.

Forced views by view rules - any possibilities to remove the "Forced" part?

Community Alums
Not applicable

Hi all,

I have a view rule that changes the views based on company or some other conditions. Is there a way to remove "sysparm_view_forced=true" part from URL when View Rules forces the view? Or are there any settings I could change to:

1. Change the view as per condition in View Rule

2. Still allow users to change to their views if they want to

5 REPLIES 5

Hi

okay, I got your point.

Unfortunately view rules are rather complicated & have driven me crazy for a long time. ServiceNow's knowledge articles KB0686741 and KB0719228 explain why.

But there is an unknown system property glide.ui.remember_view you can set to "false" and then your view rules will really enforce a view. In my last projects I used that approach. Why? That way you can be sure that none of your developers change an OOTB view accidentally. This would be the worst case as you will have skipped records in the next upgrade and also these changes will probably not captured in your application or update set. Furthermore, in most of the cases there is no added value having many views. 

Kind regards
Maik