View Rule or User Preference?

David Sloan
Giga Guru

I want my itil users to always see one view and everyone else to see another. Should I handle this with a view rule or with a system user preference? At first I had assumed a view rule would be the best way to do this, but I am finding that user preferences override my view rule. As I tested this more, I discovered the following (assuming I am drawing the correct conclusions):

1. The view rule will run only if there is not a user preference set or if the user preference is for the default view. It doesn't matter if the only user preference is a system preference. This seems to be different than the way I was reading the documentation and suggests that we should do more with user preferences than with view rules.
2. There is a setting on view rules called "overrides user preference" (default true). Since the view rule does not run if user preference is not default, it can only be tested with user preference set to null, but in this case the view rule takes precedent whether "overrides user preference" is set to true or false, so I could not figure out the intended use of this field. It made no difference in any of my testing.
3. Manually deleting a user preference as an admin does not take effect immediately, and even clearing the cache does not fix this.

Is this correct? And if so, what is the best way to accomplish my goal?

1 REPLY 1

John Zhang1
Kilo Patron
Kilo Patron

The article (KB0686741) -View rule is not applying for users unless they are changin to the default view may provide some information you need.

 

If my reply is Helpful/Correct, please mark the answer as Helpful/Correct.